blob: 6cf920caeba32a8074494a83b8457e342100c20a [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
Guido van Rossum7f3b0421997-03-27 14:56:18 +000015\item[UserDict, UserList]
16--- Class wrappers for dictionary and list objects.
17
Guido van Rossumecde7811995-03-28 13:35:14 +000018\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
32different constraints).
33
34\item[imp]
35--- Access the implementation of the \code{import} statement.
36
Guido van Rossum3317e631996-07-21 02:22:12 +000037\item[parser]
38--- Retrieve and submit parse trees from and to the runtime support
39environment.
40
Guido van Rossumfc5ee0f1997-04-03 22:43:02 +000041\item[site]
42--- A standard way to reference site-specific modules.
43
Guido van Rossumecde7811995-03-28 13:35:14 +000044\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}