Guido van Rossum | ecde781 | 1995-03-28 13:35:14 +0000 | [diff] [blame] | 1 | \chapter{Python Services} |
| 2 | |
| 3 | The modules described in this chapter provide a wide range of services |
| 4 | related to the Python interpreter and its interaction with its |
| 5 | environment. Here's an overview: |
| 6 | |
| 7 | \begin{description} |
| 8 | |
| 9 | \item[sys] |
| 10 | --- Access system specific parameters and functions. |
| 11 | |
| 12 | \item[types] |
| 13 | --- Names for all built-in types. |
| 14 | |
| 15 | \item[traceback] |
| 16 | --- Print or retrieve a stack traceback. |
| 17 | |
| 18 | \item[pickle] |
| 19 | --- Convert Python objects to streams of bytes and back. |
| 20 | |
| 21 | \item[shelve] |
| 22 | --- Python object persistency. |
| 23 | |
| 24 | \item[copy] |
| 25 | --- Shallow and deep copy operations. |
| 26 | |
| 27 | \item[marshal] |
| 28 | --- Convert Python objects to streams of bytes and back (with |
| 29 | different constraints). |
| 30 | |
| 31 | \item[imp] |
| 32 | --- Access the implementation of the \code{import} statement. |
| 33 | |
Guido van Rossum | 3317e63 | 1996-07-21 02:22:12 +0000 | [diff] [blame] | 34 | \item[parser] |
| 35 | --- Retrieve and submit parse trees from and to the runtime support |
| 36 | environment. |
| 37 | |
Guido van Rossum | ecde781 | 1995-03-28 13:35:14 +0000 | [diff] [blame] | 38 | \item[__builtin__] |
| 39 | --- The set of built-in functions. |
| 40 | |
| 41 | \item[__main__] |
| 42 | --- The environment where the top-level script is run. |
| 43 | |
| 44 | \end{description} |