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 | |
Guido van Rossum | 7f3b042 | 1997-03-27 14:56:18 +0000 | [diff] [blame] | 15 | \item[UserDict, UserList] |
| 16 | --- Class wrappers for dictionary and list objects. |
| 17 | |
Guido van Rossum | ecde781 | 1995-03-28 13:35:14 +0000 | [diff] [blame] | 18 | \item[traceback] |
| 19 | --- Print or retrieve a stack traceback. |
| 20 | |
| 21 | \item[pickle] |
| 22 | --- Convert Python objects to streams of bytes and back. |
| 23 | |
| 24 | \item[shelve] |
| 25 | --- Python object persistency. |
| 26 | |
| 27 | \item[copy] |
| 28 | --- Shallow and deep copy operations. |
| 29 | |
| 30 | \item[marshal] |
| 31 | --- Convert Python objects to streams of bytes and back (with |
| 32 | different constraints). |
| 33 | |
| 34 | \item[imp] |
| 35 | --- Access the implementation of the \code{import} statement. |
| 36 | |
Guido van Rossum | 3317e63 | 1996-07-21 02:22:12 +0000 | [diff] [blame] | 37 | \item[parser] |
| 38 | --- Retrieve and submit parse trees from and to the runtime support |
| 39 | environment. |
| 40 | |
Guido van Rossum | fc5ee0f | 1997-04-03 22:43:02 +0000 | [diff] [blame] | 41 | \item[site] |
| 42 | --- A standard way to reference site-specific modules. |
| 43 | |
Guido van Rossum | ecde781 | 1995-03-28 13:35:14 +0000 | [diff] [blame] | 44 | \item[__builtin__] |
| 45 | --- The set of built-in functions. |
| 46 | |
| 47 | \item[__main__] |
| 48 | --- The environment where the top-level script is run. |
| 49 | |
| 50 | \end{description} |