Primary
textwrap ⚬⃕ᵖʸ|Documentation|1st|20260122192714-00-⌔
textwrap — Text wrapping and filling — Python 3.14.2 documentation
textwrap— Text wrapping and fillingSource code: Lib/textwrap.py
The
textwrapmodule provides some convenience functions, as well asTextWrapper, the class that does all the work. If you’re just wrapping or filling one or two text strings, the convenience functions should be good enough; otherwise, you should use an instance ofTextWrapperfor efficiency.Printed 2026-06-28.
(echo:: @ ᯤ)
Link to original
Secondary
• • •