3 % 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.
7 \title{Python Library Reference
}
11 \makeindex % tell \index to actually write the
13 \makemodindex % ... and the module index as well.
21 \chapter*
{Front Matter
\label{front
}}
29 Python is an extensible, interpreted, object-oriented programming
30 language. It supports a wide range of applications, from simple text
31 processing scripts to interactive Web browsers.
33 While the
\citetitle[../ref/ref.html
]{Python Reference Manual
}
34 describes the exact syntax and semantics of the language, it does not
35 describe the standard library that is distributed with the language,
36 and which greatly enhances its immediate usability. This library
37 contains built-in modules (written in C) that provide access to system
38 functionality such as file I/O that would otherwise be inaccessible to
39 Python programmers, as well as modules written in Python that provide
40 standardized solutions for many problems that occur in everyday
41 programming. Some of these modules are explicitly designed to
42 encourage and enhance the portability of Python programs.
44 This library reference manual documents Python's standard library, as
45 well as many optional library modules (which may or may not be
46 available, depending on whether the underlying platform supports them
47 and on the configuration choices made at compile time). It also
48 documents the standard types of the language and its built-in
49 functions and exceptions, many of which are not or incompletely
50 documented in the Reference Manual.
52 This manual assumes basic knowledge about the Python language. For an
53 informal introduction to Python, see the
54 \citetitle[../tut/tut.html
]{Python Tutorial
}; the
55 \citetitle[../ref/ref.html
]{Python Reference Manual
} remains the
56 highest authority on syntactic and semantic questions. Finally, the
57 manual entitled
\citetitle[../ext/ext.html
]{Extending and Embedding
58 the Python Interpreter
} describes how to add new extensions to Python
59 and how to embed it in other applications.
67 \input{libintro
} % Introduction
69 \input{libobjs
} % Built-in Types, Exceptions and Functions
75 \input{libpython
} % Python Runtime Services
88 \input{libcopyreg
} % really copy_reg
102 \input{libbltin
} % really __builtin__
103 \input{libmain
} % really __main__
104 \input{libfuture
} % really __future__
106 \input{libstrings
} % String Services
115 \input{libunicodedata
}
116 \input{libstringprep
}
118 \input{libmisc
} % Miscellaneous Services
134 \input{libxreadlines
}
139 \input{liballos
} % Generic Operating System Services
141 \input{libposixpath
} % os.path
154 \input{libascii
} % curses.ascii
155 \input{libcursespanel
}
167 \input{libsomeos
} % Optional Operating System Services
173 \input{libdummythread
}
174 \input{libdummythreading
}
187 \input{librlcompleter
}
189 \input{libunix
} % UNIX Specific Services
208 \input{libpdb
} % The Python Debugger
210 \input{libprofile
} % The Python Profiler
211 \input{libhotshot
} % New profiler
214 \input{internet
} % Internet Protocols
215 \input{libwebbrowser
}
231 \input{libsimplehttp
}
235 \input{libsimplexmlrpc
}
240 \input{netdata
} % Internet Data Handling
250 \input{libmimewriter
}
265 \input{librobotparser
}
268 \input{markup
} % Structured Markup Processing Tools
269 \input{libhtmlparser
}
274 \input{xmldomminidom
}
275 \input{xmldompulldom
}
277 \input{xmlsaxhandler
}
282 \input{libmm
} % Multimedia Services
293 \input{libossaudiodev
}
295 \input{libcrypto
} % Cryptographic Services
304 \input{librestricted
} % Restricted Execution
308 \input{language
} % Python Language Services
316 \input{libpycompile
} % really py_compile
317 \input{libcompileall
}
321 \input{compiler
} % compiler package
323 %\input{libamoeba} % AMOEBA ONLY
325 %\input{libstdwin} % STDWIN ONLY
327 \input{libsgi
} % SGI IRIX ONLY
337 \input{libsun
} % SUNOS ONLY
340 \input{windows
} % MS Windows ONLY
348 %\chapter{Obsolete Modules}
356 \chapter{Reporting Bugs
}
357 \input{reportingbugs
}
359 \chapter{History and License
}
363 % The ugly "%begin{latexonly}" pseudo-environments are really just to
364 % keep LaTeX2HTML quiet during the \renewcommand{} macros; they're
365 % not really valuable.
369 \renewcommand{\indexname}{Module Index
}
371 \input{modlib.ind
} % Module Index
374 \renewcommand{\indexname}{Index
}
376 \input{lib.ind
} % Index