Georg Brandl | 8ec7f65 | 2007-08-15 14:28:01 +0000 | [diff] [blame] | 1 | .. _library-index: |
| 2 | |
| 3 | ############################### |
| 4 | The Python Standard Library |
| 5 | ############################### |
| 6 | |
| 7 | :Release: |version| |
| 8 | :Date: |today| |
| 9 | |
| 10 | While the :ref:`reference-index` describes the exact syntax and |
| 11 | semantics of the Python language, this library reference manual |
| 12 | describes the standard library that is distributed with Python. It also |
| 13 | describes some of the optional components that are commonly included |
| 14 | in Python distributions. |
| 15 | |
| 16 | Python's standard library is very extensive, offering a wide range of |
| 17 | facilities as indicated by the long table of contents listed below. The |
| 18 | library contains built-in modules (written in C) that provide access to |
| 19 | system functionality such as file I/O that would otherwise be |
| 20 | inaccessible to Python programmers, as well as modules written in Python |
| 21 | that provide standardized solutions for many problems that occur in |
| 22 | everyday programming. Some of these modules are explicitly designed to |
| 23 | encourage and enhance the portability of Python programs by abstracting |
| 24 | away platform-specifics into platform-neutral APIs. |
| 25 | |
| 26 | The Python installers for the Windows and Mac platforms usually include |
| 27 | the entire standard library and often also include many additional |
| 28 | components. For Unix-like operating systems Python is normally provided |
| 29 | as a collection of packages, so it may be necessary to use the packaging |
| 30 | tools provided with the operating system to obtain some or all of the |
| 31 | optional components. |
| 32 | |
| 33 | In addition to the standard library, there is a growing collection of |
| 34 | over 2500 additional components available from the `Python Package Index |
| 35 | <http://pypi.python.org/pypi>`_. |
| 36 | |
| 37 | |
| 38 | .. toctree:: |
| 39 | :maxdepth: 2 |
| 40 | |
| 41 | intro.rst |
| 42 | functions.rst |
| 43 | constants.rst |
| 44 | objects.rst |
| 45 | stdtypes.rst |
| 46 | exceptions.rst |
| 47 | |
| 48 | strings.rst |
| 49 | datatypes.rst |
| 50 | numeric.rst |
| 51 | filesys.rst |
| 52 | persistence.rst |
| 53 | archiving.rst |
| 54 | fileformats.rst |
| 55 | crypto.rst |
| 56 | allos.rst |
| 57 | someos.rst |
| 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 |
| 67 | pdb.rst |
| 68 | profile.rst |
| 69 | hotshot.rst |
| 70 | timeit.rst |
| 71 | trace.rst |
| 72 | python.rst |
| 73 | custominterp.rst |
| 74 | restricted.rst |
| 75 | modules.rst |
| 76 | language.rst |
| 77 | compiler.rst |
| 78 | misc.rst |
| 79 | windows.rst |
| 80 | unix.rst |
| 81 | mac.rst |
| 82 | macosa.rst |
| 83 | sgi.rst |
| 84 | sun.rst |
| 85 | undoc.rst |