home *** CD-ROM | disk | FTP | other *** search
- <TITLE>Internet and WWW -- Python library reference</TITLE>
- Next: <A HREF="../r/restricted_execution" TYPE="Next">Restricted Execution</A>
- Prev: <A HREF="../t/the_python_profiler" TYPE="Prev">The Python Profiler</A>
- Up: <A HREF="../t/top" TYPE="Up">Top</A>
- Top: <A HREF="../t/top" TYPE="Top">Top</A>
- <H1>10. Internet and WWW Services</H1>
- The modules described in this chapter provide various services to
- World-Wide Web (WWW) clients and/or services, and a few modules
- related to news and email. They are all implemented in Python. Some
- of these modules require the presence of the system-dependent module
- <CODE>sockets</CODE>, which is currently only fully supported on Unix and
- Windows NT. Here is an overview:
- <P>
- <DL>
- <DT><B>cgi</B><DD>--- Common Gateway Interface, used to interpret forms in server-side
- scripts.
- <P>
- <DT><B>urllib</B><DD>--- Open an arbitrary object given by URL (requires sockets).
- <P>
- <DT><B>httplib</B><DD>--- HTTP protocol client (requires sockets).
- <P>
- <DT><B>ftplib</B><DD>--- FTP protocol client (requires sockets).
- <P>
- <DT><B>gopherlib</B><DD>--- Gopher protocol client (requires sockets).
- <P>
- <DT><B>nntplib</B><DD>--- NNTP protocol client (requires sockets).
- <P>
- <DT><B>urlparse</B><DD>--- Parse a URL string into a tuple (addressing scheme identifier, network
- location, path, parameters, query string, fragment identifier).
- <P>
- <DT><B>sgmllib</B><DD>--- Only as much of an SGML parser as needed to parse HTML.
- <P>
- <DT><B>htmllib</B><DD>--- A (slow) parser for HTML documents.
- <P>
- <DT><B>formatter</B><DD>--- Generic output formatter and device interface.
- <P>
- <DT><B>rfc822</B><DD>--- Parse RFC-822 style mail headers.
- <P>
- <DT><B>mimetools</B><DD>--- Tools for parsing MIME style message bodies.
- <P>
- </DL>
- <H2>Menu</H2><DL COMPACT>
- <DT><A HREF="../c/cgi" TYPE=Menu>cgi</A>
- <DD><DT><A HREF="../u/urllib" TYPE=Menu>urllib</A>
- <DD><DT><A HREF="../h/httplib" TYPE=Menu>httplib</A>
- <DD><DT><A HREF="../f/ftplib" TYPE=Menu>ftplib</A>
- <DD><DT><A HREF="../g/gopherlib" TYPE=Menu>gopherlib</A>
- <DD><DT><A HREF="../n/nntplib" TYPE=Menu>nntplib</A>
- <DD><DT><A HREF="../u/urlparse" TYPE=Menu>urlparse</A>
- <DD><DT><A HREF="../s/sgmllib" TYPE=Menu>sgmllib</A>
- <DD><DT><A HREF="../h/htmllib" TYPE=Menu>htmllib</A>
- <DD><DT><A HREF="../f/formatter" TYPE=Menu>formatter</A>
- <DD><DT><A HREF="../r/rfc822" TYPE=Menu>rfc822</A>
- <DD><DT><A HREF="../m/mimetools" TYPE=Menu>mimetools</A>
- <DD><DT><A HREF="../b/binhex" TYPE=Menu>binhex</A>
- <DD><DT><A HREF="../u/uu" TYPE=Menu>uu</A>
- <DD><DT><A HREF="../b/binascii" TYPE=Menu>binascii</A>
- <DD><DT><A HREF="../x/xdrlib" TYPE=Menu>xdrlib</A>
- <DD></DL>
-