Internet Data Handling互联网数据处理¶
This chapter describes modules which support handling data formats commonly used on the internet.本章介绍支持处理internet上常用数据格式的模块。
email
—An email and MIME handling package电子邮件和MIME处理包email.message
: Representing an email message:表示电子邮件消息email.parser
: Parsing email messages:解析电子邮件消息email.generator
: Generating MIME documents:生成MIME文档email.policy
: Policy Objects:策略对象email.errors
: Exception and Defect classes:异常和缺陷类email.headerregistry
: Custom Header Objects:自定义标题对象email.contentmanager
: Managing MIME Content:管理MIME内容email
: Examples示例email.message.Message
: Representing an email message using the:使用compat32
APIcompat32
API表示电子邮件消息email.mime
: Creating email and MIME objects from scratch:从头开始创建电子邮件和MIME对象email.header
: Internationalized headers:国际化标题email.charset
: Representing character sets:表示字符集email.encoders
: Encoders:编码器email.utils
: Miscellaneous utilities:杂项公用事业email.iterators
: Iterators:迭代器
json
—JSON encoder and decoderJSON编码器和解码器mailcap
—Mailcap file handlingMailcap文件处理mailbox
—Manipulate mailboxes in various formats以各种格式操作邮箱mimetypes
—Map filenames to MIME types将文件名映射到MIME类型base64
— Base16, Base32, Base64, Base85 Data Encodingsbinhex
—Encode and decode binhex4 files编码和解码binhex4文件binascii
—Convert between binary and ASCII在二进制和ASCII之间转换quopri
—Encode and decode MIME quoted-printable data对MIME引用的可打印数据进行编码和解码