Text Processing Services¶
The modules described in this chapter provide a wide range of stringmanipulation operations and other text processing services.
Thecodecs module described underBinary Data Services is alsohighly relevant to text processing. In addition, see the documentation forPython’s built-in string type inText Sequence Type — str.
string— Common string operationsstring.templatelib— Support for template string literalsre— Regular expression operationsdifflib— Helpers for computing deltastextwrap— Text wrapping and fillingunicodedata— Unicode Databasestringprep— Internet String Preparationreadline— GNU readline interfacerlcompleter— Completion function for GNU readline