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