cape.tnakit.textutils.wrap
: Text-wrapping toolkit¶
This module contains common functions for wrapping long strings into a limited-length lines
- cape.tnakit.textutils.wrap.wrap_text(txt, cwidth=79, indent=4, cwidth1=None, indent1=None)¶
Convert a long string into multiple lines of text
- Call:
>>> lines = wrap_text(txt, cwidth=79, indent=4, **kw)
- Inputs:
- Outputs:
- Versions:
2018-03-07
@ddalle
: Version 1.0