ID EN
Text Wrapping

width

Python 3.11

(default: 70) The maximum length of wrapped lines. As long as there are no individual words in the input text longer than width, TextWrapper guarantees that no output line will be longer than width characters.

Syntax

PYTHON
width

See Also

width TextWrapper width