Package soovee_lib :: Module txtwrap
[frames] | no frames]

Module txtwrap

SooVee Serial Audio Manger - Line Wrap libary for the SooVee. It will wrap any length of text as well as allowing the text to be indented.


Requires: textwrap

Functions
list
wraptext(line, indent=None)
Wrap line of text at eighty characters while allowing ability to indent.
Variables
  __package__ = None
Function Details

wraptext(line, indent=None)

 

Wrap line of text at eighty characters while allowing ability to indent.

Parameters:
  • line (basestring) - Text to wrap at 80 characters.
  • indent (int) - Indent line of text number of characters. Default 'None'.
Returns: list
List of wrapped lines

Requires: textwrap