- 互联网数据处理
互联网数据处理
本章介绍了支持处理互联网上常用数据格式的模块。
email—- 电子邮件与 MIME 处理包email.message: Representing an email messageemail.parser: Parsing email messages- FeedParser API
- Parser API
- Additional notes
email.generator: Generating MIME documentsemail.policy: Policy Objectsemail.errors: 异常和缺陷类email.headerregistry: Custom Header Objectsemail.contentmanager: Managing MIME Content- Content Manager Instances
email: 示例email.message.Message: Representing an email message using thecompat32APIemail.mime: Creating email and MIME objects from scratchemail.header: Internationalized headersemail.charset: Representing character setsemail.encoders: 编码器email.utils: 其他工具email.iterators: 迭代器
json—- JSON 编码和解码器- 基本使用
- 编码器和解码器
- 异常
- Standard Compliance and Interoperability
- Character Encodings
- Infinite and NaN Number Values
- Repeated Names Within an Object
- Top-level Non-Object, Non-Array Values
- Implementation Limitations
- Command Line Interface
- Command line options
mailcap—- Mailcap file handlingmailbox—- Manipulate mailboxes in various formatsMailbox对象MaildirmboxMHBabylMMDF
MessageobjectsMaildirMessagemboxMessageMHMessageBabylMessageMMDFMessage
- 异常
- 示例
mimetypes—- Map filenames to MIME types- MimeTypes Objects
base64—- Base16, Base32, Base64, Base85 数据编码binhex—- 对binhex4文件进行编码和解码- 注释
binascii—- 二进制和 ASCII 码互转quopri—- 编码与解码经过 MIME 转码的可打印数据uu—- 对 uuencode 文件进行编码与解码
