f | .. _library-index: |
| |
| ############################### |
n | The Python standard library |
n | The Python Standard Library |
| ############################### |
| |
| :Release: |version| |
| :Date: |today| |
| |
n | While :ref:`reference-index` describes the exact syntax and semantics of the |
n | While :ref:`reference-index` describes the exact syntax and |
| semantics of the Python language, this library reference manual |
| language, it does not describe the standard library that is distributed with the |
| describes the standard library that is distributed with Python. It also |
| language, and which greatly enhances its immediate usability. This library |
| describes some of the optional components that are commonly included |
| contains built-in modules (written in C) that provide access to system |
| in Python distributions. |
| 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. |
| |
n | This library reference manual documents Python's standard library, as well as |
n | Python's standard library is very extensive, offering a wide range of |
| many optional library modules (which may or may not be available, depending on |
| facilities as indicated by the long table of contents listed below. The |
| whether the underlying platform supports them and on the configuration choices |
| library contains built-in modules (written in C) that provide access to |
| made at compile time). It also documents the standard types of the language and |
| system functionality such as file I/O that would otherwise be |
| its built-in functions and exceptions, many of which are not or incompletely |
| inaccessible to Python programmers, as well as modules written in Python |
| documented in the Reference Manual. |
| 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 |
n | :numbered: |
| |
| intro.rst |
| functions.rst |
| constants.rst |
| objects.rst |
| stdtypes.rst |
| exceptions.rst |
| |
| strings.rst |
| datatypes.rst |
| numeric.rst |
n | filesys.rst |
| persistence.rst |
| archiving.rst |
| fileformats.rst |
| crypto.rst |
| allos.rst |
| someos.rst |
| ipc.rst |
| netdata.rst |
| markup.rst |
n | fileformats.rst |
| crypto.rst |
| filesys.rst |
| archiving.rst |
| persistence.rst |
| allos.rst |
| someos.rst |
| unix.rst |
| ipc.rst |
| internet.rst |
| mm.rst |
n | tkinter.rst |
| i18n.rst |
| frameworks.rst |
n | tk.rst |
| development.rst |
n | pdb.rst |
n | debug.rst |
| profile.rst |
| hotshot.rst |
| timeit.rst |
| trace.rst |
| python.rst |
| custominterp.rst |
| restricted.rst |
| modules.rst |
| language.rst |
| compiler.rst |
| misc.rst |
n | windows.rst |
| unix.rst |
| mac.rst |
| macosa.rst |
| sgi.rst |
| sun.rst |
t | windows.rst |
| undoc.rst |