blob: b6a5559ba9a7e30081336af916cd6f67f670780f [file] [log] [blame]
Georg Brandl116aa622007-08-15 14:28:22 +00001.. _library-index:
2
3###############################
4 The Python Standard Library
5###############################
6
Benjamin Petersond7b03282008-09-13 15:58:53 +00007While :ref:`reference-index` describes the exact syntax and
Georg Brandl116aa622007-08-15 14:28:22 +00008semantics of the Python language, this library reference manual
9describes the standard library that is distributed with Python. It also
10describes some of the optional components that are commonly included
11in Python distributions.
12
13Python's standard library is very extensive, offering a wide range of
14facilities as indicated by the long table of contents listed below. The
15library contains built-in modules (written in C) that provide access to
16system functionality such as file I/O that would otherwise be
17inaccessible to Python programmers, as well as modules written in Python
18that provide standardized solutions for many problems that occur in
19everyday programming. Some of these modules are explicitly designed to
20encourage and enhance the portability of Python programs by abstracting
21away platform-specifics into platform-neutral APIs.
22
Georg Brandlc575c902008-09-13 17:46:05 +000023The Python installers for the Windows platform usually includes
Georg Brandl116aa622007-08-15 14:28:22 +000024the entire standard library and often also include many additional
25components. For Unix-like operating systems Python is normally provided
26as a collection of packages, so it may be necessary to use the packaging
27tools provided with the operating system to obtain some or all of the
28optional components.
29
30In addition to the standard library, there is a growing collection of
Christian Heimes5e696852008-04-09 08:37:03 +000031several thousand components (from individual programs and modules to
32packages and entire application development frameworks), available from
33the `Python Package Index <http://pypi.python.org/pypi>`_.
Georg Brandl116aa622007-08-15 14:28:22 +000034
35
36.. toctree::
37 :maxdepth: 2
Benjamin Peterson5879d412009-03-30 14:51:56 +000038 :numbered:
Georg Brandl116aa622007-08-15 14:28:22 +000039
40 intro.rst
41 functions.rst
42 constants.rst
Georg Brandl116aa622007-08-15 14:28:22 +000043 stdtypes.rst
44 exceptions.rst
45
46 strings.rst
47 datatypes.rst
48 numeric.rst
Georg Brandl77041b22011-01-06 09:23:19 +000049 functional.rst
Georg Brandl116aa622007-08-15 14:28:22 +000050 filesys.rst
51 persistence.rst
52 archiving.rst
53 fileformats.rst
54 crypto.rst
55 allos.rst
56 someos.rst
57 ipc.rst
58 netdata.rst
59 markup.rst
60 internet.rst
61 mm.rst
62 i18n.rst
63 frameworks.rst
64 tk.rst
65 development.rst
Georg Brandl546e2d62007-09-12 18:04:37 +000066 debug.rst
Georg Brandl116aa622007-08-15 14:28:22 +000067 python.rst
68 custominterp.rst
69 modules.rst
70 language.rst
71 misc.rst
72 windows.rst
73 unix.rst
Georg Brandl116aa622007-08-15 14:28:22 +000074 undoc.rst