The modules described in this chapter provide a wide range of string manipulation operations and other text processing services.
The codecs module described under 二进制数据服务 is also highly relevant to text processing. In addition, see the documentation for Python’s built-in string type in 文本序列类型 — str.