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
103 \input{libbltin
} % really __builtin__
104 \input{libmain
} % really __main__
105 \input{libfuture
} % really __future__
107 \input{libstrings
} % String Services
116 \input{libunicodedata
}
117 \input{libstringprep
}
119 \input{libmisc
} % Miscellaneous Services
130 \input{libcollections
}
141 \input{liballos
} % Generic Operating System Services
143 \input{libposixpath
} % os.path
149 \input{libsubprocess
}
157 \input{libascii
} % curses.ascii
158 \input{libcursespanel
}
171 \input{libsomeos
} % Optional Operating System Services
177 \input{libdummythread
}
178 \input{libdummythreading
}
192 \input{librlcompleter
}
194 \input{libunix
} % UNIX Specific Services
213 \input{libpdb
} % The Python Debugger
215 \input{libprofile
} % The Python Profiler
216 \input{libhotshot
} % New profiler
219 \input{internet
} % Internet Protocols
220 \input{libwebbrowser
}
237 \input{libsimplehttp
}
242 \input{libsimplexmlrpc
}
247 \input{netdata
} % Internet Data Handling
257 \input{libmimewriter
}
272 \input{librobotparser
}
275 \input{markup
} % Structured Markup Processing Tools
276 \input{libhtmlparser
}
281 \input{xmldomminidom
}
282 \input{xmldompulldom
}
284 \input{xmlsaxhandler
}
289 \input{libmm
} % Multimedia Services
300 \input{libossaudiodev
}
302 \input{libcrypto
} % Cryptographic Services
309 \input{librestricted
} % Restricted Execution
313 \input{language
} % Python Language Services
321 \input{libpycompile
} % really py_compile
322 \input{libcompileall
}
324 \input{libpickletools
}
327 \input{compiler
} % compiler package
329 %\input{libamoeba} % AMOEBA ONLY
331 %\input{libstdwin} % STDWIN ONLY
333 \input{libsgi
} % SGI IRIX ONLY
343 \input{libsun
} % SUNOS ONLY
346 \input{windows
} % MS Windows ONLY
354 %\chapter{Obsolete Modules}
362 \chapter{Reporting Bugs
}
363 \input{reportingbugs
}
365 \chapter{History and License
}
369 % The ugly "%begin{latexonly}" pseudo-environments are really just to
370 % keep LaTeX2HTML quiet during the \renewcommand{} macros; they're
371 % not really valuable.
375 \renewcommand{\indexname}{Module Index
}
377 \input{modlib.ind
} % Module Index
380 \renewcommand{\indexname}{Index
}
382 \input{lib.ind
} % Index