15.04.2013 Views

Core Python Programming (2nd Edition)

Core Python Programming (2nd Edition)

Core Python Programming (2nd Edition)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

17.5. Related Modules<br />

One of <strong>Python</strong>'s greatest assets is the strength of its networking support in the standard library,<br />

particularly those oriented toward Internet protocols and client development. Listed below are related<br />

modules, first focusing on electronic mail followed by Internet protocols in general.<br />

17.5.1. E-mail<br />

<strong>Python</strong> features numerous e-mail modules and packages to help you with building an application. Some<br />

of them are listed in Table 17.5.<br />

Module/Package Description<br />

Table 17.5. E-Mail-Related Modules<br />

email Package for processing e-mail (also supports MIME)<br />

rfc822 RFC2822 mail header parsers<br />

smtpd SMTP server<br />

base64 Base 16, 32, and 64 data encodings (RFC 3548)<br />

mhlib Classes for handling MH folders and messages<br />

mailbox Classes to support parsing mailbox file formats<br />

mailcap Support for handling "mailcap" files<br />

mimetools (deprecated) MIME message parsing tools (use email above)<br />

mimetypes Converts between filenames/URLs and associated MIME types<br />

MimeWriter (deprecated) MIME message processing (use email above)<br />

mimify (deprecated) Tools to MIME-process messages with (use email above)<br />

binascii Binary and ASCII conversion<br />

binhex Binhex4 encoding and decoding support<br />

17.5.2. Other Internet Protocols<br />

Table 17.6. Internet Protocol-<br />

Related Modules

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!