互联网数据处理
本章介绍了支持处理互联网上常用数据格式的模块。
email
—- 电子邮件与 MIME 处理包email.message
: Representing an email messageemail.parser
: Parsing email messagesemail.generator
: Generating MIME documentsemail.policy
: Policy Objectsemail.errors
: 异常和缺陷类email.headerregistry
: Custom Header Objectsemail.contentmanager
: Managing MIME Contentemail
: 示例email.message.Message
: Representing an email message using thecompat32
APIemail.mime
: Creating email and MIME objects from scratchemail.header
: Internationalized headersemail.charset
: Representing character setsemail.encoders
: 编码器email.utils
: 其他工具email.iterators
: 迭代器
json
—- JSON 编码和解码器mailcap
—- Mailcap file handlingmailbox
—- Manipulate mailboxes in various formatsmimetypes
—- Map filenames to MIME typesbase64
—- Base16, Base32, Base64, Base85 数据编码binhex
—- 对binhex4文件进行编码和解码binascii
—- 二进制和 ASCII 码互转quopri
—- 编码与解码经过 MIME 转码的可打印数据uu
—- 对 uuencode 文件进行编码与解码