6. 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.
- 6.1.
stringCommon string operations - 6.2.
reRegular expression operations - 6.3.
difflibHelpers for computing deltas - 6.4.
textwrapText wrapping and filling - 6.5.
unicodedataUnicode Database - 6.6.
stringprepInternet String Preparation - 6.7.
readlineGNU readline interface - 6.8.
rlcompleterCompletion function for GNU readline