| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <link rel="STYLESHEET" href="lib.css" type='text/css' /> |
| 5 | <link rel="SHORTCUT ICON" href="../icons/pyfav.png" type="image/png" /> |
| 6 | <link rel='start' href='../index.html' title='Python Documentation Index' /> |
| 7 | <link rel="first" href="lib.html" title='Python Library Reference' /> |
| 8 | <link rel='contents' href='contents.html' title="Contents" /> |
| 9 | <link rel='index' href='genindex.html' title='Index' /> |
| 10 | <link rel='last' href='about.html' title='About this document...' /> |
| 11 | <link rel='help' href='about.html' title='About this document...' /> |
| 12 | <link rel="next" href="markup.html" /> |
| 13 | <link rel="prev" href="internet.html" /> |
| 14 | <link rel="parent" href="lib.html" /> |
| 15 | <link rel="next" href="module-formatter.html" /> |
| 16 | <meta name='aesop' content='information' /> |
| 17 | <title>12. Internet Data Handling </title> |
| 18 | </head> |
| 19 | <body> |
| 20 | <DIV CLASS="navigation"> |
| 21 | <div id='top-navigation-panel' xml:id='top-navigation-panel'> |
| 22 | <table align="center" width="100%" cellpadding="0" cellspacing="2"> |
| 23 | <tr> |
| 24 | <td class='online-navigation'><a rel="prev" title="11.26.2 asynchat Example" |
| 25 | href="asynchat-example.html"><img src='../icons/previous.png' |
| 26 | border='0' height='32' alt='Previous Page' width='32' /></A></td> |
| 27 | <td class='online-navigation'><a rel="parent" title="Python Library Reference" |
| 28 | href="lib.html"><img src='../icons/up.png' |
| 29 | border='0' height='32' alt='Up One Level' width='32' /></A></td> |
| 30 | <td class='online-navigation'><a rel="next" title="12.1 formatter " |
| 31 | href="module-formatter.html"><img src='../icons/next.png' |
| 32 | border='0' height='32' alt='Next Page' width='32' /></A></td> |
| 33 | <td align="center" width="100%">Python Library Reference</td> |
| 34 | <td class='online-navigation'><a rel="contents" title="Table of Contents" |
| 35 | href="contents.html"><img src='../icons/contents.png' |
| 36 | border='0' height='32' alt='Contents' width='32' /></A></td> |
| 37 | <td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png' |
| 38 | border='0' height='32' alt='Module Index' width='32' /></a></td> |
| 39 | <td class='online-navigation'><a rel="index" title="Index" |
| 40 | href="genindex.html"><img src='../icons/index.png' |
| 41 | border='0' height='32' alt='Index' width='32' /></A></td> |
| 42 | </tr></table> |
| 43 | <div class='online-navigation'> |
| 44 | <b class="navlabel">Previous:</b> |
| 45 | <a class="sectref" rel="prev" href="asynchat-example.html">11.26.2 asynchat Example</A> |
| 46 | <b class="navlabel">Up:</b> |
| 47 | <a class="sectref" rel="parent" href="lib.html">Python Library Reference</A> |
| 48 | <b class="navlabel">Next:</b> |
| 49 | <a class="sectref" rel="next" href="module-formatter.html">12.1 formatter </A> |
| 50 | </div> |
| 51 | <hr /></div> |
| 52 | </DIV> |
| 53 | <!--End of Navigation Panel--> |
| 54 | |
| 55 | <H1><A NAME="SECTION0014000000000000000000"></A><A NAME="netdata"></A> |
| 56 | <BR> |
| 57 | 12. Internet Data Handling |
| 58 | </H1> |
| 59 | |
| 60 | <P> |
| 61 | This chapter describes modules which support handling data formats |
| 62 | commonly used on the Internet. |
| 63 | |
| 64 | <P> |
| 65 | <table class='synopsistable' valign='baseline'> |
| 66 | <tr class='oddrow'> |
| 67 | <td><b><tt class='module'><a href='module-formatter.html'>formatter</a></tt></b></td> |
| 68 | <td> </td> |
| 69 | <td class='synopsis'>Generic output formatter and device interface.</td></tr> |
| 70 | <tr><td><b><tt class='module'><a href='module-email.html'>email</a></tt></b></td> |
| 71 | <td> </td> |
| 72 | <td class='synopsis'>Package supporting the parsing, manipulating, and |
| 73 | generating email messages, including MIME documents.</td></tr> |
| 74 | <tr class='oddrow'> |
| 75 | <td><b><tt class='module'><a href='module-email.Message.html'>email.Message</a></tt></b></td> |
| 76 | <td> </td> |
| 77 | <td class='synopsis'>The base class representing email messages.</td></tr> |
| 78 | <tr><td><b><tt class='module'><a href='module-email.Parser.html'>email.Parser</a></tt></b></td> |
| 79 | <td> </td> |
| 80 | <td class='synopsis'>Parse flat text email messages to produce a message |
| 81 | object structure.</td></tr> |
| 82 | <tr class='oddrow'> |
| 83 | <td><b><tt class='module'><a href='module-email.Generator.html'>email.Generator</a></tt></b></td> |
| 84 | <td> </td> |
| 85 | <td class='synopsis'>Generate flat text email messages from a message structure.</td></tr> |
| 86 | <tr><td><b><tt class='module'><a href='module-email.Header.html'>email.Header</a></tt></b></td> |
| 87 | <td> </td> |
| 88 | <td class='synopsis'>Representing non-ASCII headers</td></tr> |
| 89 | <tr class='oddrow'> |
| 90 | <td><b><tt class='module'><a href='module-email.Charset.html'>email.Charset</a></tt></b></td> |
| 91 | <td> </td> |
| 92 | <td class='synopsis'>Character Sets</td></tr> |
| 93 | <tr><td><b><tt class='module'><a href='module-email.Encoders.html'>email.Encoders</a></tt></b></td> |
| 94 | <td> </td> |
| 95 | <td class='synopsis'>Encoders for email message payloads.</td></tr> |
| 96 | <tr class='oddrow'> |
| 97 | <td><b><tt class='module'><a href='module-email.Errors.html'>email.Errors</a></tt></b></td> |
| 98 | <td> </td> |
| 99 | <td class='synopsis'>The exception classes used by the email package.</td></tr> |
| 100 | <tr><td><b><tt class='module'><a href='module-email.Utils.html'>email.Utils</a></tt></b></td> |
| 101 | <td> </td> |
| 102 | <td class='synopsis'>Miscellaneous email package utilities.</td></tr> |
| 103 | <tr class='oddrow'> |
| 104 | <td><b><tt class='module'><a href='module-email.Iterators.html'>email.Iterators</a></tt></b></td> |
| 105 | <td> </td> |
| 106 | <td class='synopsis'>Iterate over a message object tree.</td></tr> |
| 107 | <tr><td><b><tt class='module'><a href='module-mailcap.html'>mailcap</a></tt></b></td> |
| 108 | <td> </td> |
| 109 | <td class='synopsis'>Mailcap file handling.</td></tr> |
| 110 | <tr class='oddrow'> |
| 111 | <td><b><tt class='module'><a href='module-mailbox.html'>mailbox</a></tt></b></td> |
| 112 | <td> </td> |
| 113 | <td class='synopsis'>Read various mailbox formats.</td></tr> |
| 114 | <tr><td><b><tt class='module'><a href='module-mhlib.html'>mhlib</a></tt></b></td> |
| 115 | <td> </td> |
| 116 | <td class='synopsis'>Manipulate MH mailboxes from Python.</td></tr> |
| 117 | <tr class='oddrow'> |
| 118 | <td><b><tt class='module'><a href='module-mimetools.html'>mimetools</a></tt></b></td> |
| 119 | <td> </td> |
| 120 | <td class='synopsis'>Tools for parsing MIME-style message bodies.</td></tr> |
| 121 | <tr><td><b><tt class='module'><a href='module-mimetypes.html'>mimetypes</a></tt></b></td> |
| 122 | <td> </td> |
| 123 | <td class='synopsis'>Mapping of filename extensions to MIME types.</td></tr> |
| 124 | <tr class='oddrow'> |
| 125 | <td><b><tt class='module'><a href='module-MimeWriter.html'>MimeWriter</a></tt></b></td> |
| 126 | <td> </td> |
| 127 | <td class='synopsis'>Generic MIME file writer.</td></tr> |
| 128 | <tr><td><b><tt class='module'><a href='module-mimify.html'>mimify</a></tt></b></td> |
| 129 | <td> </td> |
| 130 | <td class='synopsis'>Mimification and unmimification of mail messages.</td></tr> |
| 131 | <tr class='oddrow'> |
| 132 | <td><b><tt class='module'><a href='module-multifile.html'>multifile</a></tt></b></td> |
| 133 | <td> </td> |
| 134 | <td class='synopsis'>Support for reading files which contain distinct |
| 135 | parts, such as some MIME data.</td></tr> |
| 136 | <tr><td><b><tt class='module'><a href='module-rfc822.html'>rfc822</a></tt></b></td> |
| 137 | <td> </td> |
| 138 | <td class='synopsis'>Parse <a class="rfc" id='rfcref-91145' xml:id='rfcref-91145' |
| 139 | href="http://www.faqs.org/rfcs/rfc2822.html">RFC 2822</a> style mail messages.</td></tr> |
| 140 | <tr class='oddrow'> |
| 141 | <td><b><tt class='module'><a href='module-base64.html'>base64</a></tt></b></td> |
| 142 | <td> </td> |
| 143 | <td class='synopsis'>RFC 3548: Base16, Base32, Base64 Data Encodings</td></tr> |
| 144 | <tr><td><b><tt class='module'><a href='module-binascii.html'>binascii</a></tt></b></td> |
| 145 | <td> </td> |
| 146 | <td class='synopsis'>Tools for converting between binary and various |
| 147 | ASCII-encoded binary representations.</td></tr> |
| 148 | <tr class='oddrow'> |
| 149 | <td><b><tt class='module'><a href='module-binhex.html'>binhex</a></tt></b></td> |
| 150 | <td> </td> |
| 151 | <td class='synopsis'>Encode and decode files in binhex4 format.</td></tr> |
| 152 | <tr><td><b><tt class='module'><a href='module-quopri.html'>quopri</a></tt></b></td> |
| 153 | <td> </td> |
| 154 | <td class='synopsis'>Encode and decode files using the MIME |
| 155 | quoted-printable encoding.</td></tr> |
| 156 | <tr class='oddrow'> |
| 157 | <td><b><tt class='module'><a href='module-uu.html'>uu</a></tt></b></td> |
| 158 | <td> </td> |
| 159 | <td class='synopsis'>Encode and decode files in uuencode format.</td></tr> |
| 160 | <tr><td><b><tt class='module'><a href='module-xdrlib.html'>xdrlib</a></tt></b></td> |
| 161 | <td> </td> |
| 162 | <td class='synopsis'>Encoders and decoders for the External Data |
| 163 | Representation (XDR).</td></tr> |
| 164 | <tr class='oddrow'> |
| 165 | <td><b><tt class='module'><a href='module-netrc.html'>netrc</a></tt></b></td> |
| 166 | <td> </td> |
| 167 | <td class='synopsis'>Loading of <span class="file">.netrc</span> files.</td></tr> |
| 168 | <tr><td><b><tt class='module'><a href='module-robotparser.html'>robotparser</a></tt></b></td> |
| 169 | <td> </td> |
| 170 | <td class='synopsis'>Loads a <span class="file">robots.txt</span> file and |
| 171 | answers questions about fetchability of other URLs.</td></tr> |
| 172 | <tr class='oddrow'> |
| 173 | <td><b><tt class='module'><a href='module-csv.html'>csv</a></tt></b></td> |
| 174 | <td> </td> |
| 175 | <td class='synopsis'>Write and read tabular data to and from delimited files.</td></tr> |
| 176 | </table> |
| 177 | |
| 178 | <BR> |
| 179 | <DIV CLASS="navigation"> |
| 180 | <div class='online-navigation'> |
| 181 | <p></p><hr /> |
| 182 | <table align="center" width="100%" cellpadding="0" cellspacing="2"> |
| 183 | <tr> |
| 184 | <td class='online-navigation'><a rel="prev" title="11.26.2 asynchat Example" |
| 185 | href="asynchat-example.html"><img src='../icons/previous.png' |
| 186 | border='0' height='32' alt='Previous Page' width='32' /></A></td> |
| 187 | <td class='online-navigation'><a rel="parent" title="Python Library Reference" |
| 188 | href="lib.html"><img src='../icons/up.png' |
| 189 | border='0' height='32' alt='Up One Level' width='32' /></A></td> |
| 190 | <td class='online-navigation'><a rel="next" title="12.1 formatter " |
| 191 | href="module-formatter.html"><img src='../icons/next.png' |
| 192 | border='0' height='32' alt='Next Page' width='32' /></A></td> |
| 193 | <td align="center" width="100%">Python Library Reference</td> |
| 194 | <td class='online-navigation'><a rel="contents" title="Table of Contents" |
| 195 | href="contents.html"><img src='../icons/contents.png' |
| 196 | border='0' height='32' alt='Contents' width='32' /></A></td> |
| 197 | <td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png' |
| 198 | border='0' height='32' alt='Module Index' width='32' /></a></td> |
| 199 | <td class='online-navigation'><a rel="index" title="Index" |
| 200 | href="genindex.html"><img src='../icons/index.png' |
| 201 | border='0' height='32' alt='Index' width='32' /></A></td> |
| 202 | </tr></table> |
| 203 | <div class='online-navigation'> |
| 204 | <b class="navlabel">Previous:</b> |
| 205 | <a class="sectref" rel="prev" href="asynchat-example.html">11.26.2 asynchat Example</A> |
| 206 | <b class="navlabel">Up:</b> |
| 207 | <a class="sectref" rel="parent" href="lib.html">Python Library Reference</A> |
| 208 | <b class="navlabel">Next:</b> |
| 209 | <a class="sectref" rel="next" href="module-formatter.html">12.1 formatter </A> |
| 210 | </div> |
| 211 | </div> |
| 212 | <hr /> |
| 213 | <span class="release-info">Release 2.4.2, documentation updated on 28 September 2005.</span> |
| 214 | </DIV> |
| 215 | <!--End of Navigation Panel--> |
| 216 | <ADDRESS> |
| 217 | See <i><a href="about.html">About this document...</a></i> for information on suggesting changes. |
| 218 | </ADDRESS> |
| 219 | </BODY> |
| 220 | </HTML> |