Section 17.5. Related Modules


17.5. Related Modules

One of Python's greatest assets is the strength of its networking support in the standard library, particularly those oriented toward Internet protocols and client development. Listed below are related modules, first focusing on electronic mail followed by Internet protocols in general.

17.5.1. E-mail

Python features numerous e-mail modules and packages to help you with building an application. Some of them are listed in Table 17.5.

Table 17.5. E-Mail-Related Modules

Module/Package

Description

email

Package for processing e-mail (also supports MIME)

rfc822

RFC2822 mail header parsers

smtpd

SMTP server

base64

Base 16, 32, and 64 data encodings (RFC 3548)

mhlib

Classes for handling MH folders and messages

mailbox

Classes to support parsing mailbox file formats

mailcap

Support for handling "mailcap" files

mimetools

(deprecated) MIME message parsing tools (use email above)

mimetypes

Converts between filenames/URLs and associated MIME types

MimeWriter

(deprecated) MIME message processing (use email above)

mimify

(deprecated) Tools to MIME-process messages with (use email above)

binascii

Binary and ASCII conversion

binhex

Binhex4 encoding and decoding support


17.5.2. Other Internet Protocols

Table 17.6. Internet Protocol-Related Modules

Module

Description

ftplib

FTP protocol client

gopherlib

Gopher protocol client

httplib

HTTP and HTTPS protocol client

imaplib

IMAP4 protocol client

nntplib

NNTP protocol client

poplib

POP3 protocol client

smtplib

SMTP protocol client

telnetlib

Telnet client class




Core Python Programming
Core Python Programming (2nd Edition)
ISBN: 0132269937
EAN: 2147483647
Year: 2004
Pages: 334
Authors: Wesley J Chun

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net