cpython/Doc/lib.tex

244 lines
5.6 KiB
TeX
Raw Normal View History

\documentclass{manual}
% NOTE: this file controls which chapters/sections of the library
% manual are actually printed. It is easy to customize your manual
% by commenting out sections that you're not interested in.
\title{Python Library Reference}
1991-01-22 07:45:29 -04:00
\input{boilerplate}
\makeindex % tell \index to actually write the
% .idx file
\makemodindex % ... and the module index as well.
1992-01-07 12:40:44 -04:00
1991-01-22 07:45:29 -04:00
\begin{document}
1991-01-22 07:45:29 -04:00
\maketitle
\input{copyright}
1991-01-22 07:45:29 -04:00
\begin{abstract}
\noindent
1995-03-30 12:01:33 -04:00
Python is an extensible, interpreted, object-oriented programming
language. It supports a wide range of applications, from simple text
processing scripts to interactive WWW browsers.
While the \emph{Python Reference Manual} describes the exact syntax and
1995-03-30 12:01:33 -04:00
semantics of the language, it does not describe the standard library
that is distributed with the language, and which greatly enhances its
immediate usability. This library contains built-in modules (written
in C) that provide access to system functionality such as file I/O
that would otherwise be inaccessible to Python programmers, as well as
modules written in Python that provide standardized solutions for many
problems that occur in everyday programming. Some of these modules
are explicitly designed to encourage and enhance the portability of
Python programs.
This library reference manual documents Python's standard library, as
well as many optional library modules (which may or may not be
available, depending on whether the underlying platform supports them
and on the configuration choices made at compile time). It also
documents the standard types of the language and its built-in
functions and exceptions, many of which are not or incompletely
documented in the Reference Manual.
This manual assumes basic knowledge about the Python language. For an
informal introduction to Python, see the \emph{Python Tutorial}; the
\emph{Python Reference Manual} remains the highest authority on
syntactic and semantic questions. Finally, the manual entitled
\emph{Extending and Embedding the Python Interpreter} describes how to
add new extensions to Python and how to embed it in other applications.
1991-01-22 07:45:29 -04:00
\end{abstract}
\tableofcontents
1991-01-22 07:45:29 -04:00
% Chapter title:
\input{libintro} % Introduction
\input{libobjs} % Built-in Types, Exceptions and Functions
\input{libtypes}
\input{libexcs}
\input{libfuncs}
\input{libpython} % Python Services
\input{libsys}
\input{libtypes2} % types is already taken :-(
\input{libuserdict}
\input{liboperator}
\input{libtraceback}
\input{libpickle}
1998-01-21 00:58:39 -04:00
\input{libcopyreg}
\input{libshelve}
\input{libcopy}
\input{libmarshal}
\input{libimp}
%\input{libni}
1995-10-11 14:32:29 -03:00
\input{libparser}
\input{libsymbol}
\input{libtoken}
1997-10-06 18:40:48 -03:00
\input{libkeyword}
1997-07-18 18:08:07 -03:00
\input{libcode}
\input{libpprint}
1997-11-18 11:11:47 -04:00
\input{libdis}
1997-04-03 18:41:49 -04:00
\input{libsite}
\input{libuser}
\input{libbltin} % really __builtin__
\input{libmain} % really __main__
\input{libstrings} % String Services
\input{libstring}
\input{libre}
\input{libregex}
\input{libregsub}
\input{libstruct}
1997-03-03 12:01:21 -04:00
\input{libstrio}
1998-04-09 11:23:48 -03:00
%\input{libsoundex}
\input{libmisc} % Miscellaneous Services
\input{libmath}
1997-07-17 13:15:18 -03:00
\input{libcmath}
\input{libwhrandom}
1997-04-03 18:41:49 -04:00
\input{librandom}
%\input{librand}
\input{libarray}
\input{libfileinput}
\input{liballos} % Generic Operating System Services
\input{libos}
\input{libtime}
\input{libgetopt}
\input{libtempfile}
1996-07-30 15:20:01 -03:00
\input{liberrno}
1997-03-25 18:09:18 -04:00
\input{libglob}
\input{libfnmatch}
\input{liblocale}
\input{libsomeos} % Optional Operating System Services
\input{libsignal}
\input{libsocket}
\input{libselect}
\input{libthread}
\input{libqueue}
1997-04-03 18:41:49 -04:00
\input{libanydbm}
\input{libwhichdb}
1997-04-30 16:40:10 -03:00
\input{libzlib}
1997-07-17 13:27:42 -03:00
\input{libgzip}
\input{libunix} % UNIX Specific Services
\input{libposix}
\input{libppath} % == posixpath
\input{libpwd}
\input{libgrp}
1996-04-10 13:18:20 -03:00
\input{libcrypt}
\input{libdbm}
1994-08-08 05:03:24 -03:00
\input{libgdbm}
\input{libtermios}
\input{libfcntl}
\input{libposixfile}
\input{libresource}
1995-10-09 17:49:57 -03:00
\input{libsyslog}
1996-12-30 22:24:54 -04:00
\input{libstat}
\input{libcommands}
\input{libpdb} % The Python Debugger
\input{libprofile} % The Python Profiler
\input{libwww} % Internet and WWW Services
1995-02-27 13:53:25 -04:00
\input{libcgi}
1995-03-22 11:48:46 -04:00
\input{liburllib}
\input{libhttplib}
1995-02-16 12:28:22 -04:00
\input{libftplib}
\input{libgopherlib}
\input{libnntplib}
\input{liburlparse}
1995-03-22 11:48:46 -04:00
\input{libsgmllib}
\input{libhtmllib}
1997-11-18 11:11:47 -04:00
\input{libxmllib}
\input{libformatter}
1995-03-22 11:48:46 -04:00
\input{librfc822}
\input{libmimetools}
\input{libbinhex}
\input{libuu}
\input{libbinascii}
\input{libxdrlib}
1997-03-25 18:09:18 -04:00
\input{libmailcap}
\input{libbase64}
\input{libquopri}
1997-05-19 16:55:16 -03:00
\input{libsocksvr}
1997-06-02 14:35:51 -03:00
\input{libmailbox}
1997-07-30 19:05:07 -03:00
\input{libmimify}
\input{libbasehttp}
1995-02-16 12:28:22 -04:00
\input{librestricted}
\input{librexec}
\input{libbastion}
\input{libmm} % Multimedia Services
\input{libaudioop}
\input{libimageop}
\input{libaifc}
\input{libjpeg}
\input{librgbimg}
\input{libimghdr}
\input{libcrypto} % Cryptographic Services
\input{libmd5}
\input{libmpz}
\input{librotor}
%\input{libamoeba} % AMOEBA ONLY
%\input{libmac} % MACINTOSH ONLY
%\input{libctb}
%\input{libmacconsole}
%\input{libmacdnr}
%\input{libmacfs}
%\input{libmacic}
%\input{libmacos}
%\input{libmacostools}
%\input{libmactcp}
%\input{libmacspeech}
%\input{libmacui}
%\input{libframework}
%\input{libminiae}
1997-06-02 14:35:51 -03:00
%\input{libstdwin} % STDWIN ONLY
\input{libsgi} % SGI IRIX ONLY
\input{libal}
1995-03-28 07:56:52 -04:00
\input{libcd}
\input{libfl}
\input{libfm}
\input{libgl}
\input{libimgfile}
%\input{libpanel}
\input{libsun} % SUNOS ONLY
1998-02-19 14:59:48 -04:00
\input{libsunaudio}
\input{libundoc}
%
% The ugly "%begin{latexonly}" pseudo-environments are really just to
% keep LaTeX2HTML quiet during the \renewcommand{} macros; they're
% not really valuable.
%
%begin{latexonly}
\renewcommand{\indexname}{Module Index}
%end{latexonly}
\input{modlib.ind} % Module Index
%begin{latexonly}
\renewcommand{\indexname}{Index}
%end{latexonly}
\input{lib.ind} % Index
1991-01-22 07:45:29 -04:00
\end{document}