blob: c6d203d599809402012535a2456ecebdb045c7aa [file] [log] [blame]
Guido van Rossum37953781992-04-06 14:04:04 +00001\documentstyle[twoside,11pt,myformat]{report}
Guido van Rossum19f1b821991-11-12 15:41:57 +00002
Guido van Rossum86751151995-02-28 17:14:32 +00003% NOTE: this file controls which chapters/sections of the library
4% manual are actually printed. It is easy to customize your manual
5% by commenting out sections that you're not interested in.
6
Guido van Rossum6938f061994-08-01 12:22:53 +00007\title{Python Library Reference}
Guido van Rossum515834a1991-01-22 11:45:29 +00008
Guido van Rossum16cd7f91994-10-06 10:29:26 +00009\input{boilerplate}
Guido van Rossum83eb9621993-11-23 16:28:45 +000010
Guido van Rossum6938f061994-08-01 12:22:53 +000011\makeindex % tell \index to actually write the .idx file
12
Guido van Rossum1230c081992-01-07 16:40:44 +000013
Guido van Rossum515834a1991-01-22 11:45:29 +000014\begin{document}
Guido van Rossum6938f061994-08-01 12:22:53 +000015
Guido van Rossum515834a1991-01-22 11:45:29 +000016\pagenumbering{roman}
17
18\maketitle
19
Guido van Rossum16cd7f91994-10-06 10:29:26 +000020\input{copyright}
21
Guido van Rossum515834a1991-01-22 11:45:29 +000022\begin{abstract}
23
24\noindent
Guido van Rossum2ddd9781995-03-30 16:01:33 +000025Python is an extensible, interpreted, object-oriented programming
26language. It supports a wide range of applications, from simple text
27processing scripts to interactive WWW browsers.
28
29While the {\em Python Reference Manual} describes the exact syntax and
30semantics of the language, it does not describe the standard library
31that is distributed with the language, and which greatly enhances its
32immediate usability. This library contains built-in modules (written
33in C) that provide access to system functionality such as file I/O
34that would otherwise be inaccessible to Python programmers, as well as
35modules written in Python that provide standardized solutions for many
36problems that occur in everyday programming. Some of these modules
37are explicitly designed to encourage and enhance the portability of
38Python programs.
39
40This library reference manual documents Python's standard library, as
41well as many optional library modules (which may or may not be
42available, depending on whether the underlying platform supports them
43and on the configuration choices made at compile time). It also
44documents the standard types of the language and its built-in
45functions and exceptions, many of which are not or incompletely
46documented in the Reference Manual.
47
48This manual assumes basic knowledge about the Python language. For an
49informal introduction to Python, see the {\em Python Tutorial}; the
50Python Reference Manual remains the highest authority on syntactic and
51semantic questions. Finally, the manual entitled {\em Extending and
52Embedding the Python Interpreter} describes how to add new extensions
53to Python and how to embed it in other applications.
Guido van Rossum515834a1991-01-22 11:45:29 +000054
55\end{abstract}
56
57\pagebreak
58
Guido van Rossum9b573851992-01-29 14:46:35 +000059{
60\parskip = 0mm
Guido van Rossum515834a1991-01-22 11:45:29 +000061\tableofcontents
Guido van Rossum9b573851992-01-29 14:46:35 +000062}
Guido van Rossum515834a1991-01-22 11:45:29 +000063
64\pagebreak
65
66\pagenumbering{arabic}
Guido van Rossumbe3eb961992-03-24 13:34:33 +000067
Guido van Rossum6938f061994-08-01 12:22:53 +000068 % Chapter title:
69
70\input{libintro} % Introduction
71
72\input{libobjs} % Built-in Types, Exceptions and Functions
73\input{libtypes}
74\input{libexcs}
75\input{libfuncs}
76
Guido van Rossumecde7811995-03-28 13:35:14 +000077\input{libpython} % Python Services
Guido van Rossum6938f061994-08-01 12:22:53 +000078\input{libsys}
Guido van Rossumecde7811995-03-28 13:35:14 +000079\input{libtypes2} % types is already taken :-(
Guido van Rossum61ed4db1996-12-06 21:22:41 +000080\input{liboperator}
Guido van Rossumecde7811995-03-28 13:35:14 +000081\input{libtraceback}
Guido van Rossumd1883581995-02-15 15:53:08 +000082\input{libpickle}
83\input{libshelve}
84\input{libcopy}
Guido van Rossumecde7811995-03-28 13:35:14 +000085\input{libmarshal}
86\input{libimp}
Guido van Rossumca814701995-10-11 17:32:29 +000087\input{libparser}
Guido van Rossumecde7811995-03-28 13:35:14 +000088\input{libbltin} % really __builtin__
89\input{libmain} % really __main__
90
91\input{libstrings} % String Services
92\input{libstring}
93\input{libregex}
94\input{libregsub}
95\input{libstruct}
Guido van Rossum3486f271996-12-12 17:02:21 +000096\input{libsoundex}
Guido van Rossumecde7811995-03-28 13:35:14 +000097
98\input{libmisc} % Miscellaneous Services
99\input{libmath}
100\input{librand}
101\input{libwhrandom}
102\input{libarray}
103
104\input{liballos} % Generic Operating System Services
105\input{libos}
106\input{libtime}
107\input{libgetopt}
Guido van Rossumdc46c7f1995-03-01 15:38:16 +0000108\input{libtempfile}
Guido van Rossumc0fcc441996-07-30 18:20:01 +0000109\input{liberrno}
Guido van Rossumecde7811995-03-28 13:35:14 +0000110
111\input{libsomeos} % Optional Operating System Services
112\input{libsignal}
113\input{libsocket}
114\input{libselect}
115\input{libthread}
116
117\input{libunix} % UNIX Specific Services
118\input{libposix}
119\input{libppath} % == posixpath
120\input{libpwd}
121\input{libgrp}
Guido van Rossum5c6e3731996-04-10 16:18:20 +0000122\input{libcrypt}
Guido van Rossumecde7811995-03-28 13:35:14 +0000123\input{libdbm}
124\input{libgdbm}
125\input{libtermios}
126\input{libfcntl}
127\input{libposixfile}
Guido van Rossumfbe34fa1995-10-09 20:49:57 +0000128\input{libsyslog}
Guido van Rossumdf804f81995-03-02 12:38:39 +0000129
130\input{libpdb} % The Python Debugger
131
132\input{libprofile} % The Python Profiler
Guido van Rossum6938f061994-08-01 12:22:53 +0000133
Guido van Rossumecde7811995-03-28 13:35:14 +0000134\input{libwww} % Internet and WWW Services
Guido van Rossuma12ef941995-02-27 17:53:25 +0000135\input{libcgi}
Guido van Rossumcca8d2b1995-03-22 15:48:46 +0000136\input{liburllib}
137\input{libhttplib}
Guido van Rossum817a8421995-02-16 16:28:22 +0000138\input{libftplib}
139\input{libgopherlib}
Guido van Rossum817a8421995-02-16 16:28:22 +0000140\input{libnntplib}
Guido van Rossum817a8421995-02-16 16:28:22 +0000141\input{liburlparse}
Guido van Rossumcca8d2b1995-03-22 15:48:46 +0000142\input{libsgmllib}
Fred Drakee1980ed1996-10-09 14:36:54 +0000143\input{libhtmllib}
Fred Drake53e84d51996-10-08 21:54:41 +0000144\input{libformatter}
Guido van Rossumcca8d2b1995-03-22 15:48:46 +0000145\input{librfc822}
146\input{libmimetools}
Jack Jansen4549b131995-08-29 11:30:24 +0000147\input{libbinascii}
Guido van Rossum40006cf1996-08-19 22:58:03 +0000148\input{libxdrlib}
Guido van Rossum817a8421995-02-16 16:28:22 +0000149
Guido van Rossum6e308d71996-10-22 01:11:53 +0000150\input{librestricted}
151\input{librexec}
152\input{libbastion}
153
Guido van Rossumecde7811995-03-28 13:35:14 +0000154\input{libmm} % Multimedia Services
Guido van Rossum6938f061994-08-01 12:22:53 +0000155\input{libaudioop}
156\input{libimageop}
Guido van Rossumecde7811995-03-28 13:35:14 +0000157\input{libaifc}
Guido van Rossum6938f061994-08-01 12:22:53 +0000158\input{libjpeg}
159\input{librgbimg}
Guido van Rossum40006cf1996-08-19 22:58:03 +0000160\input{libimghdr}
Guido van Rossum6938f061994-08-01 12:22:53 +0000161
Guido van Rossumecde7811995-03-28 13:35:14 +0000162\input{libcrypto} % Cryptographic Services
Guido van Rossum6938f061994-08-01 12:22:53 +0000163\input{libmd5}
164\input{libmpz}
165\input{librotor}
166
167%\input{libamoeba} % AMOEBA ONLY
168
Guido van Rossum86751151995-02-28 17:14:32 +0000169\input{libmac} % MACINTOSH ONLY
Guido van Rossumdc46c7f1995-03-01 15:38:16 +0000170\input{libctb}
171\input{libmacconsole}
Guido van Rossum85c4ff21995-03-07 10:12:11 +0000172\input{libmacdnr}
Guido van Rossumdc46c7f1995-03-01 15:38:16 +0000173\input{libmacfs}
Jack Jansenebed45f1995-08-14 13:40:05 +0000174\input{libmacos}
Jack Jansenda53c521995-10-10 14:43:20 +0000175\input{libmacostools}
Guido van Rossumdc46c7f1995-03-01 15:38:16 +0000176\input{libmactcp}
177\input{libmacspeech}
Jack Jansenda53c521995-10-10 14:43:20 +0000178\input{libmacui}
Guido van Rossum6938f061994-08-01 12:22:53 +0000179
180\input{libstdwin} % STDWIN ONLY
181
182\input{libsgi} % SGI IRIX ONLY
183\input{libal}
184%\input{libaudio}
Sjoerd Mullenderffd6de11995-03-28 11:56:52 +0000185\input{libcd}
Guido van Rossum6938f061994-08-01 12:22:53 +0000186\input{libfl}
187\input{libfm}
188\input{libgl}
189\input{libimgfile}
190%\input{libpanel}
191
192\input{libsun} % SUNOS ONLY
193
194\input{lib.ind} % Index
Guido van Rossum515834a1991-01-22 11:45:29 +0000195
196\end{document}