blob: ed253f5bad7109fca19d3676f73143b4406acca4 [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
34\item[__builtin__]
35--- The set of built-in functions.
36
37\item[__main__]
38--- The environment where the top-level script is run.
39
40\end{description}