<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN">
<link rel=
"STYLESHEET" href=
"lib.css" type='text/css'
/>
<link rel=
"SHORTCUT ICON" href=
"../icons/pyfav.png" type=
"image/png" />
<link rel='start' href='../index.html' title='Python Documentation Index'
/>
<link rel=
"first" href=
"lib.html" title='Python Library Reference'
/>
<link rel='contents' href='contents.html'
title=
"Contents" />
<link rel='index' href='genindex.html' title='Index'
/>
<link rel='last' href='about.html' title='About this document...'
/>
<link rel='help' href='about.html' title='About this document...'
/>
<link rel=
"next" href=
"markup.html" />
<link rel=
"prev" href=
"internet.html" />
<link rel=
"parent" href=
"lib.html" />
<link rel=
"next" href=
"module-formatter.html" />
<meta name='aesop' content='information'
/>
<title>12. Internet Data Handling
</title>
<div id='top-navigation-panel' xml:id='top-navigation-panel'
>
<table align=
"center" width=
"100%" cellpadding=
"0" cellspacing=
"2">
<td class='online-navigation'
><a rel=
"prev" title=
"11.26.2 asynchat Example"
href=
"asynchat-example.html"><img src='../icons/previous.png'
border='
0' height='
32' alt='Previous Page' width='
32'
/></A></td>
<td class='online-navigation'
><a rel=
"parent" title=
"Python Library Reference"
href=
"lib.html"><img src='../icons/up.png'
border='
0' height='
32' alt='Up One Level' width='
32'
/></A></td>
<td class='online-navigation'
><a rel=
"next" title=
"12.1 formatter "
href=
"module-formatter.html"><img src='../icons/next.png'
border='
0' height='
32' alt='Next Page' width='
32'
/></A></td>
<td align=
"center" width=
"100%">Python Library Reference
</td>
<td class='online-navigation'
><a rel=
"contents" title=
"Table of Contents"
href=
"contents.html"><img src='../icons/contents.png'
border='
0' height='
32' alt='Contents' width='
32'
/></A></td>
<td class='online-navigation'
><a href=
"modindex.html" title=
"Module Index"><img src='../icons/modules.png'
border='
0' height='
32' alt='Module Index' width='
32'
/></a></td>
<td class='online-navigation'
><a rel=
"index" title=
"Index"
href=
"genindex.html"><img src='../icons/index.png'
border='
0' height='
32' alt='Index' width='
32'
/></A></td>
<div class='online-navigation'
>
<b class=
"navlabel">Previous:
</b>
<a class=
"sectref" rel=
"prev" href=
"asynchat-example.html">11.26.2 asynchat Example
</A>
<b class=
"navlabel">Up:
</b>
<a class=
"sectref" rel=
"parent" href=
"lib.html">Python Library Reference
</A>
<b class=
"navlabel">Next:
</b>
<a class=
"sectref" rel=
"next" href=
"module-formatter.html">12.1 formatter
</A>
<!--End of Navigation Panel-->
<H1><A NAME=
"SECTION0014000000000000000000"></A><A NAME=
"netdata"></A>
12. Internet Data Handling
This chapter describes modules which support handling data formats
commonly used on the Internet.
<table class='synopsistable' valign='baseline'
>
<td><b><tt class='module'
><a href='module-formatter.html'
>formatter
</a></tt></b></td>
<td class='synopsis'
>Generic output formatter and device interface.
</td></tr>
<tr><td><b><tt class='module'
><a href='module-email.html'
>email
</a></tt></b></td>
<td class='synopsis'
>Package supporting the parsing, manipulating, and
generating email messages, including MIME documents.
</td></tr>
<td><b><tt class='module'
><a href='module-email.Message.html'
>email.Message
</a></tt></b></td>
<td class='synopsis'
>The base class representing email messages.
</td></tr>
<tr><td><b><tt class='module'
><a href='module-email.Parser.html'
>email.Parser
</a></tt></b></td>
<td class='synopsis'
>Parse flat text email messages to produce a message
object structure.
</td></tr>
<td><b><tt class='module'
><a href='module-email.Generator.html'
>email.Generator
</a></tt></b></td>
<td class='synopsis'
>Generate flat text email messages from a message structure.
</td></tr>
<tr><td><b><tt class='module'
><a href='module-email.Header.html'
>email.Header
</a></tt></b></td>
<td class='synopsis'
>Representing non-ASCII headers
</td></tr>
<td><b><tt class='module'
><a href='module-email.Charset.html'
>email.Charset
</a></tt></b></td>
<td class='synopsis'
>Character Sets
</td></tr>
<tr><td><b><tt class='module'
><a href='module-email.Encoders.html'
>email.Encoders
</a></tt></b></td>
<td class='synopsis'
>Encoders for email message payloads.
</td></tr>
<td><b><tt class='module'
><a href='module-email.Errors.html'
>email.Errors
</a></tt></b></td>
<td class='synopsis'
>The exception classes used by the email package.
</td></tr>
<tr><td><b><tt class='module'
><a href='module-email.Utils.html'
>email.Utils
</a></tt></b></td>
<td class='synopsis'
>Miscellaneous email package utilities.
</td></tr>
<td><b><tt class='module'
><a href='module-email.Iterators.html'
>email.Iterators
</a></tt></b></td>
<td class='synopsis'
>Iterate over a message object tree.
</td></tr>
<tr><td><b><tt class='module'
><a href='module-mailcap.html'
>mailcap
</a></tt></b></td>
<td class='synopsis'
>Mailcap file handling.
</td></tr>
<td><b><tt class='module'
><a href='module-mailbox.html'
>mailbox
</a></tt></b></td>
<td class='synopsis'
>Read various mailbox formats.
</td></tr>
<tr><td><b><tt class='module'
><a href='module-mhlib.html'
>mhlib
</a></tt></b></td>
<td class='synopsis'
>Manipulate MH mailboxes from Python.
</td></tr>
<td><b><tt class='module'
><a href='module-mimetools.html'
>mimetools
</a></tt></b></td>
<td class='synopsis'
>Tools for parsing MIME-style message bodies.
</td></tr>
<tr><td><b><tt class='module'
><a href='module-mimetypes.html'
>mimetypes
</a></tt></b></td>
<td class='synopsis'
>Mapping of filename extensions to MIME types.
</td></tr>
<td><b><tt class='module'
><a href='module-MimeWriter.html'
>MimeWriter
</a></tt></b></td>
<td class='synopsis'
>Generic MIME file writer.
</td></tr>
<tr><td><b><tt class='module'
><a href='module-mimify.html'
>mimify
</a></tt></b></td>
<td class='synopsis'
>Mimification and unmimification of mail messages.
</td></tr>
<td><b><tt class='module'
><a href='module-multifile.html'
>multifile
</a></tt></b></td>
<td class='synopsis'
>Support for reading files which contain distinct
parts, such as some MIME data.
</td></tr>
<tr><td><b><tt class='module'
><a href='module-rfc822.html'
>rfc822
</a></tt></b></td>
<td class='synopsis'
>Parse
<a class=
"rfc" id='rfcref-
91145' xml:id='rfcref-
91145'
href=
"http://www.faqs.org/rfcs/rfc2822.html">RFC
2822</a> style mail messages.
</td></tr>
<td><b><tt class='module'
><a href='module-base64.html'
>base64
</a></tt></b></td>
<td class='synopsis'
>RFC
3548: Base16, Base32, Base64 Data Encodings
</td></tr>
<tr><td><b><tt class='module'
><a href='module-binascii.html'
>binascii
</a></tt></b></td>
<td class='synopsis'
>Tools for converting between binary and various
ASCII-encoded binary representations.
</td></tr>
<td><b><tt class='module'
><a href='module-binhex.html'
>binhex
</a></tt></b></td>
<td class='synopsis'
>Encode and decode files in binhex4 format.
</td></tr>
<tr><td><b><tt class='module'
><a href='module-quopri.html'
>quopri
</a></tt></b></td>
<td class='synopsis'
>Encode and decode files using the MIME
quoted-printable encoding.
</td></tr>
<td><b><tt class='module'
><a href='module-uu.html'
>uu
</a></tt></b></td>
<td class='synopsis'
>Encode and decode files in uuencode format.
</td></tr>
<tr><td><b><tt class='module'
><a href='module-xdrlib.html'
>xdrlib
</a></tt></b></td>
<td class='synopsis'
>Encoders and decoders for the External Data
Representation (XDR).
</td></tr>
<td><b><tt class='module'
><a href='module-netrc.html'
>netrc
</a></tt></b></td>
<td class='synopsis'
>Loading of
<span class=
"file">.netrc
</span> files.
</td></tr>
<tr><td><b><tt class='module'
><a href='module-robotparser.html'
>robotparser
</a></tt></b></td>
<td class='synopsis'
>Loads a
<span class=
"file">robots.txt
</span> file and
answers questions about fetchability of other URLs.
</td></tr>
<td><b><tt class='module'
><a href='module-csv.html'
>csv
</a></tt></b></td>
<td class='synopsis'
>Write and read tabular data to and from delimited files.
</td></tr>
<div class='online-navigation'
>
<table align=
"center" width=
"100%" cellpadding=
"0" cellspacing=
"2">
<td class='online-navigation'
><a rel=
"prev" title=
"11.26.2 asynchat Example"
href=
"asynchat-example.html"><img src='../icons/previous.png'
border='
0' height='
32' alt='Previous Page' width='
32'
/></A></td>
<td class='online-navigation'
><a rel=
"parent" title=
"Python Library Reference"
href=
"lib.html"><img src='../icons/up.png'
border='
0' height='
32' alt='Up One Level' width='
32'
/></A></td>
<td class='online-navigation'
><a rel=
"next" title=
"12.1 formatter "
href=
"module-formatter.html"><img src='../icons/next.png'
border='
0' height='
32' alt='Next Page' width='
32'
/></A></td>
<td align=
"center" width=
"100%">Python Library Reference
</td>
<td class='online-navigation'
><a rel=
"contents" title=
"Table of Contents"
href=
"contents.html"><img src='../icons/contents.png'
border='
0' height='
32' alt='Contents' width='
32'
/></A></td>
<td class='online-navigation'
><a href=
"modindex.html" title=
"Module Index"><img src='../icons/modules.png'
border='
0' height='
32' alt='Module Index' width='
32'
/></a></td>
<td class='online-navigation'
><a rel=
"index" title=
"Index"
href=
"genindex.html"><img src='../icons/index.png'
border='
0' height='
32' alt='Index' width='
32'
/></A></td>
<div class='online-navigation'
>
<b class=
"navlabel">Previous:
</b>
<a class=
"sectref" rel=
"prev" href=
"asynchat-example.html">11.26.2 asynchat Example
</A>
<b class=
"navlabel">Up:
</b>
<a class=
"sectref" rel=
"parent" href=
"lib.html">Python Library Reference
</A>
<b class=
"navlabel">Next:
</b>
<a class=
"sectref" rel=
"next" href=
"module-formatter.html">12.1 formatter
</A>
<span class=
"release-info">Release
2.4.2, documentation updated on
28 September
2005.
</span>
<!--End of Navigation Panel-->
See
<i><a href=
"about.html">About this document...
</a></i> for information on suggesting changes.