blob: 60dc62f183ad5c554ad62b9ed0faf16d279275a9 [file] [log] [blame]
Guido van Rossum470be141995-03-17 16:07:09 +00001\chapter{THE INTERNET AND THE WORLD-WIDE WEB}
Guido van Rossuma8db1df1995-02-16 16:29:46 +00002\index{WWW}
Guido van Rossum470be141995-03-17 16:07:09 +00003\index{Internet}
4\index{World-Wide Web}
Guido van Rossuma8db1df1995-02-16 16:29:46 +00005
6The modules described in this chapter provide various services to
7World-Wide Web (WWW) clients and/or services, and a few modules
8related to news and email. They are all implemented in Python. Some
9of these modules require the presence of the system-dependent module
10\code{sockets}, which is currently only fully supported on Unix and
11Windows NT. Here is an overview:
12
13\begin{description}
14
Guido van Rossumd6304d01995-02-27 17:51:26 +000015\item[cgi]
16--- Common Gateway Interface, used to interpret forms in server-side
17scripts.
18
Guido van Rossuma8db1df1995-02-16 16:29:46 +000019\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
36location, 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}