Guido van Rossum | a8db1df | 1995-02-16 16:29:46 +0000 | [diff] [blame] | 1 | \chapter{WORLD-WIDE WEB EXTENSIONS} |
| 2 | \index{WWW} |
| 3 | \indexii{World-Wide}{Web} |
| 4 | |
| 5 | The modules described in this chapter provide various services to |
| 6 | World-Wide Web (WWW) clients and/or services, and a few modules |
| 7 | related to news and email. They are all implemented in Python. Some |
| 8 | of these modules require the presence of the system-dependent module |
| 9 | \code{sockets}, which is currently only fully supported on Unix and |
| 10 | Windows NT. Here is an overview: |
| 11 | |
| 12 | \begin{description} |
| 13 | |
Guido van Rossum | d6304d0 | 1995-02-27 17:51:26 +0000 | [diff] [blame^] | 14 | \item[cgi] |
| 15 | --- Common Gateway Interface, used to interpret forms in server-side |
| 16 | scripts. |
| 17 | |
Guido van Rossum | a8db1df | 1995-02-16 16:29:46 +0000 | [diff] [blame] | 18 | \item[urllib] |
| 19 | --- Open an arbitrary object given by URL (requires sockets). |
| 20 | |
| 21 | \item[httplib] |
| 22 | --- HTTP protocol client (requires sockets). |
| 23 | |
| 24 | \item[ftplib] |
| 25 | --- FTP protocol client (requires sockets). |
| 26 | |
| 27 | \item[gopherlib] |
| 28 | --- Gopher protocol client (requires sockets). |
| 29 | |
| 30 | \item[nntplib] |
| 31 | --- NNTP protocol client (requires sockets). |
| 32 | |
| 33 | \item[urlparse] |
| 34 | --- Parse a URL string into a tuple (addressing scheme identifier, network |
| 35 | location, path, parameters, query string, fragment identifier). |
| 36 | |
| 37 | \item[htmllib] |
| 38 | --- A (slow) parser for HTML files. |
| 39 | |
| 40 | \item[sgmllib] |
| 41 | --- Only as much of an SGML parser as needed to parse HTML. |
| 42 | |
| 43 | \item[rfc822] |
| 44 | --- Parse RFC-822 style mail headers. |
| 45 | |
| 46 | \item[mimetools] |
| 47 | --- Tools for parsing MIME style message bodies. |
| 48 | |
| 49 | \end{description} |