6. Text Processing Services - Python 3.6.15 documentation 编辑
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 Python’s built-in string type in Text Sequence Type — str.
- 6.1.
string
— Common string operations - 6.2.
re
— Regular expression operations - 6.3.
difflib
— Helpers for computing deltas - 6.4.
textwrap
— Text wrapping and filling - 6.5.
unicodedata
— Unicode Database - 6.6.
stringprep
— Internet String Preparation - 6.7.
readline
— GNU readline interface - 6.8.
rlcompleter
— Completion function for GNU readline
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论