Text Processing Services
The modules described in this chapter provide a wide range of string manipulation operations and other text processing services.
The codecs module described under Binary Data Services is also
highly relevant to text processing. In addition, see the documentation for
Pythons built-in string type in Text Sequence Type str.
stringCommon string operationsstring.templatelibSupport for template string literalsreRegular expression operationsdifflibHelpers for computing deltastextwrapText wrapping and fillingunicodedataUnicode DatabasestringprepInternet String PreparationreadlineGNU readline interfacerlcompleterCompletion function for GNU readline