This document is for an old version of Python that is no longer supported.
You should upgrade and read the
Python documentation for the current stable release.
18. Internet Data Handling¶
This chapter describes modules which support handling data formats commonly used on the Internet.
- 18.1.
email
— An email and MIME handling package- 18.1.1.
email.message
: Representing an email message - 18.1.2.
email.parser
: Parsing email messages - 18.1.3.
email.generator
: Generating MIME documents - 18.1.4.
email.mime
: Creating email and MIME objects from scratch - 18.1.5.
email.header
: Internationalized headers - 18.1.6.
email.charset
: Representing character sets - 18.1.7.
email.encoders
: Encoders - 18.1.8.
email.errors
: Exception and Defect classes - 18.1.9.
email.utils
: Miscellaneous utilities - 18.1.10.
email.iterators
: Iterators - 18.1.11.
email
: Examples - 18.1.12. Package History
- 18.1.13. Differences from
mimelib
- 18.1.1.
- 18.2.
json
— JSON encoder and decoder - 18.3.
mailcap
— Mailcap file handling - 18.4.
mailbox
— Manipulate mailboxes in various formats - 18.5.
mhlib
— Access to MH mailboxes - 18.6.
mimetools
— Tools for parsing MIME messages - 18.7.
mimetypes
— Map filenames to MIME types - 18.8.
MimeWriter
— Generic MIME file writer - 18.9.
mimify
— MIME processing of mail messages - 18.10.
multifile
— Support for files containing distinct parts - 18.11.
rfc822
— Parse RFC 2822 mail headers - 18.12.
base64
— RFC 3548: Base16, Base32, Base64 Data Encodings - 18.13.
binhex
— Encode and decode binhex4 files - 18.14.
binascii
— Convert between binary and ASCII - 18.15.
quopri
— Encode and decode MIME quoted-printable data - 18.16.
uu
— Encode and decode uuencode files