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