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. 二进制数据服务中描述的codecs模块也与文本处理高度相关。In addition, see the documentation for Python’s built-in string type in Text Sequence Type — str.此外,请参阅文本序列类型-str中Python内置字符串类型的文档。