blob: 6b7195abb4f4b2d9f8f033bf6650571ba3b74241 [file] [log] [blame]
Guido van Rossumecde7811995-03-28 13:35:14 +00001\chapter{Python Services}
2
3The modules described in this chapter provide a wide range of services
4related to the Python interpreter and its interaction with its
5environment. 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
29different constraints).
30
31\item[imp]
32--- Access the implementation of the \code{import} statement.
33
Guido van Rossum3317e631996-07-21 02:22:12 +000034\item[parser]
35--- Retrieve and submit parse trees from and to the runtime support
36environment.
37
Guido van Rossumecde7811995-03-28 13:35:14 +000038\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}