跳转到主要内容

Text Processing Services<span id="stringservices"></span>

The modules described in this chapter provide a wide range of string manipulation operations and other text processing services.

The codecs module described under binaryservices is also highly relevant to text processing. In addition, see the documentation for Python's built-in string type in textseq.

string.rst string.templatelib.rst re.rst difflib.rst textwrap.rst unicodedata.rst stringprep.rst readline.rst rlcompleter.rst