mirror of
https://github.com/python/cpython.git
synced 2024-12-04 07:15:09 +08:00
5879d4122a
svn+ssh://pythondev@svn.python.org/python/trunk ........ r70578 | benjamin.peterson | 2009-03-23 22:24:56 -0500 (Mon, 23 Mar 2009) | 1 line this is better written using assertRaises ........ r70599 | benjamin.peterson | 2009-03-25 16:42:51 -0500 (Wed, 25 Mar 2009) | 1 line this can be slightly less ugly ........ r70641 | guilherme.polo | 2009-03-27 16:43:08 -0500 (Fri, 27 Mar 2009) | 3 lines Adjusted _tkinter to compile without warnings when WITH_THREAD is not defined (part of issue #5035) ........ r70642 | georg.brandl | 2009-03-27 19:48:48 -0500 (Fri, 27 Mar 2009) | 1 line Fix typo. ........ r70650 | benjamin.peterson | 2009-03-28 14:16:10 -0500 (Sat, 28 Mar 2009) | 1 line give os.symlink and os.link() better parameter names #5564 ........ r70660 | georg.brandl | 2009-03-28 14:52:58 -0500 (Sat, 28 Mar 2009) | 1 line Switch to fixed Sphinx version. ........ r70661 | georg.brandl | 2009-03-28 14:57:36 -0500 (Sat, 28 Mar 2009) | 2 lines Add section numbering to some of the larger subdocuments. ........ r70674 | guilherme.polo | 2009-03-29 05:19:05 -0500 (Sun, 29 Mar 2009) | 1 line Typo fix. ........ r70691 | raymond.hettinger | 2009-03-29 13:51:11 -0500 (Sun, 29 Mar 2009) | 1 line Make life easier for non-CPython implementations. ........ r70697 | benjamin.peterson | 2009-03-29 16:22:35 -0500 (Sun, 29 Mar 2009) | 1 line this has been fixed since 2.6 (I love removing these) ........ r70698 | benjamin.peterson | 2009-03-29 16:31:05 -0500 (Sun, 29 Mar 2009) | 1 line thanks to guido's bytecode verifier, this is fixed ........ r70700 | benjamin.peterson | 2009-03-29 16:50:14 -0500 (Sun, 29 Mar 2009) | 1 line use the awesome new status iterator ........ r70704 | benjamin.peterson | 2009-03-29 21:49:32 -0500 (Sun, 29 Mar 2009) | 1 line there's actually three methods here #5600 ........
78 lines
2.2 KiB
ReStructuredText
78 lines
2.2 KiB
ReStructuredText
.. _library-index:
|
|
|
|
###############################
|
|
The Python Standard Library
|
|
###############################
|
|
|
|
:Release: |version|
|
|
:Date: |today|
|
|
|
|
While :ref:`reference-index` describes the exact syntax and
|
|
semantics of the Python language, this library reference manual
|
|
describes the standard library that is distributed with Python. It also
|
|
describes some of the optional components that are commonly included
|
|
in Python distributions.
|
|
|
|
Python's standard library is very extensive, offering a wide range of
|
|
facilities as indicated by the long table of contents listed below. The
|
|
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 by abstracting
|
|
away platform-specifics into platform-neutral APIs.
|
|
|
|
The Python installers for the Windows platform usually includes
|
|
the entire standard library and often also include many additional
|
|
components. For Unix-like operating systems Python is normally provided
|
|
as a collection of packages, so it may be necessary to use the packaging
|
|
tools provided with the operating system to obtain some or all of the
|
|
optional components.
|
|
|
|
In addition to the standard library, there is a growing collection of
|
|
several thousand components (from individual programs and modules to
|
|
packages and entire application development frameworks), available from
|
|
the `Python Package Index <http://pypi.python.org/pypi>`_.
|
|
|
|
|
|
.. toctree::
|
|
:maxdepth: 2
|
|
:numbered:
|
|
|
|
intro.rst
|
|
functions.rst
|
|
constants.rst
|
|
objects.rst
|
|
stdtypes.rst
|
|
exceptions.rst
|
|
|
|
strings.rst
|
|
datatypes.rst
|
|
numeric.rst
|
|
filesys.rst
|
|
persistence.rst
|
|
archiving.rst
|
|
fileformats.rst
|
|
crypto.rst
|
|
allos.rst
|
|
someos.rst
|
|
ipc.rst
|
|
netdata.rst
|
|
markup.rst
|
|
internet.rst
|
|
mm.rst
|
|
i18n.rst
|
|
frameworks.rst
|
|
tk.rst
|
|
development.rst
|
|
debug.rst
|
|
python.rst
|
|
custominterp.rst
|
|
modules.rst
|
|
language.rst
|
|
misc.rst
|
|
windows.rst
|
|
unix.rst
|
|
undoc.rst
|