| Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 1 | .. _library-index: | 
 | 2 |  | 
 | 3 | ############################### | 
 | 4 |   The Python Standard Library | 
 | 5 | ############################### | 
 | 6 |  | 
| Benjamin Peterson | d7b0328 | 2008-09-13 15:58:53 +0000 | [diff] [blame] | 7 | While :ref:`reference-index` describes the exact syntax and | 
| Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 8 | semantics of the Python language, this library reference manual | 
 | 9 | describes the standard library that is distributed with Python. It also | 
 | 10 | describes some of the optional components that are commonly included | 
 | 11 | in Python distributions. | 
 | 12 |  | 
 | 13 | Python's standard library is very extensive, offering a wide range of | 
 | 14 | facilities as indicated by the long table of contents listed below. The | 
 | 15 | library contains built-in modules (written in C) that provide access to | 
 | 16 | system functionality such as file I/O that would otherwise be | 
 | 17 | inaccessible to Python programmers, as well as modules written in Python | 
 | 18 | that provide standardized solutions for many problems that occur in | 
 | 19 | everyday programming. Some of these modules are explicitly designed to | 
 | 20 | encourage and enhance the portability of Python programs by abstracting | 
 | 21 | away platform-specifics into platform-neutral APIs. | 
 | 22 |  | 
| Georg Brandl | c575c90 | 2008-09-13 17:46:05 +0000 | [diff] [blame] | 23 | The Python installers for the Windows platform usually includes | 
| Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 24 | the entire standard library and often also include many additional | 
 | 25 | components. For Unix-like operating systems Python is normally provided | 
 | 26 | as a collection of packages, so it may be necessary to use the packaging | 
 | 27 | tools provided with the operating system to obtain some or all of the | 
 | 28 | optional components. | 
 | 29 |  | 
 | 30 | In addition to the standard library, there is a growing collection of | 
| Christian Heimes | 5e69685 | 2008-04-09 08:37:03 +0000 | [diff] [blame] | 31 | several thousand components (from individual programs and modules to | 
 | 32 | packages and entire application development frameworks), available from | 
 | 33 | the `Python Package Index <http://pypi.python.org/pypi>`_. | 
| Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 34 |  | 
 | 35 |  | 
 | 36 | .. toctree:: | 
 | 37 |    :maxdepth: 2 | 
| Benjamin Peterson | 5879d41 | 2009-03-30 14:51:56 +0000 | [diff] [blame] | 38 |    :numbered: | 
| Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 39 |  | 
 | 40 |    intro.rst | 
 | 41 |    functions.rst | 
 | 42 |    constants.rst | 
| Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 43 |    stdtypes.rst | 
 | 44 |    exceptions.rst | 
 | 45 |  | 
| Nick Coghlan | 273069c | 2012-08-20 17:14:07 +1000 | [diff] [blame] | 46 |    text.rst | 
 | 47 |    binary.rst | 
| Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 48 |    datatypes.rst | 
 | 49 |    numeric.rst | 
| Georg Brandl | 77041b2 | 2011-01-06 09:23:19 +0000 | [diff] [blame] | 50 |    functional.rst | 
| Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 51 |    filesys.rst | 
 | 52 |    persistence.rst | 
 | 53 |    archiving.rst | 
 | 54 |    fileformats.rst | 
 | 55 |    crypto.rst | 
 | 56 |    allos.rst | 
| Nick Coghlan | bac9a53 | 2012-08-20 18:05:46 +1000 | [diff] [blame] | 57 |    concurrency.rst | 
| Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 58 |    ipc.rst | 
 | 59 |    netdata.rst | 
 | 60 |    markup.rst | 
 | 61 |    internet.rst | 
 | 62 |    mm.rst | 
 | 63 |    i18n.rst | 
 | 64 |    frameworks.rst | 
 | 65 |    tk.rst | 
 | 66 |    development.rst | 
| Georg Brandl | 546e2d6 | 2007-09-12 18:04:37 +0000 | [diff] [blame] | 67 |    debug.rst | 
| Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 68 |    python.rst | 
 | 69 |    custominterp.rst | 
 | 70 |    modules.rst | 
 | 71 |    language.rst | 
 | 72 |    misc.rst | 
 | 73 |    windows.rst | 
 | 74 |    unix.rst | 
| Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 75 |    undoc.rst |