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 WWW 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
74 \input{libpython
} % Python Runtime Services
87 \input{libcopyreg
} % really copy_reg
100 \input{libbltin
} % really __builtin__
101 \input{libmain
} % really __main__
103 \input{libstrings
} % String Services
111 \input{libunicodedata
}
113 \input{libmisc
} % Miscellaneous Services
124 \input{libxreadlines
}
129 \input{liballos
} % Generic Operating System Services
131 \input{libposixpath
} % os.path
143 \input{libascii
} % curses.ascii
144 \input{libcursespanel
}
154 \input{libsomeos
} % Optional Operating System Services
170 \input{librlcompleter
}
172 \input{libunix
} % UNIX Specific Services
191 \input{libpdb
} % The Python Debugger
193 \input{libprofile
} % The Python Profiler
195 \input{internet
} % Internet Protocols
196 \input{libwebbrowser
}
211 \input{libsimplehttp
}
216 \input{netdata
} % Internet Data Handling
220 \input{libmimewriter
}
234 \input{librobotparser
}
236 \input{markup
} % Structured Markup Processing Tools
237 \input{libhtmlparser
}
242 \input{xmldomminidom
}
243 \input{xmldompulldom
}
245 \input{xmlsaxhandler
}
250 \input{libmm
} % Multimedia Services
262 \input{libcrypto
} % Cryptographic Services
268 \input{librestricted
} % Restricted Execution
272 \input{language
} % Python Language Services
280 \input{libpycompile
} % really py_compile
281 \input{libcompileall
}
284 %\input{libamoeba} % AMOEBA ONLY
286 %\input{libstdwin} % STDWIN ONLY
288 \input{libsgi
} % SGI IRIX ONLY
298 \input{libsun
} % SUNOS ONLY
301 \input{windows
} % MS Windows ONLY
309 %\chapter{Obsolete Modules}
317 \chapter{Reporting Bugs
}
318 \input{reportingbugs
}
320 \chapter{History and License
}
324 % The ugly "%begin{latexonly}" pseudo-environments are really just to
325 % keep LaTeX2HTML quiet during the \renewcommand{} macros; they're
326 % not really valuable.
330 \renewcommand{\indexname}{Module Index
}
332 \input{modlib.ind
} % Module Index
335 \renewcommand{\indexname}{Index
}
337 \input{lib.ind
} % Index