Use py_resource module
[python/dscho.git] / Doc / lib / libpython.tex
blobed253f5bad7109fca19d3676f73143b4406acca4
1 \chapter{Python Services}
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:
7 \begin{description}
9 \item[sys]
10 --- Access system specific parameters and functions.
12 \item[types]
13 --- Names for all built-in types.
15 \item[traceback]
16 --- Print or retrieve a stack traceback.
18 \item[pickle]
19 --- Convert Python objects to streams of bytes and back.
21 \item[shelve]
22 --- Python object persistency.
24 \item[copy]
25 --- Shallow and deep copy operations.
27 \item[marshal]
28 --- Convert Python objects to streams of bytes and back (with
29 different constraints).
31 \item[imp]
32 --- Access the implementation of the \code{import} statement.
34 \item[__builtin__]
35 --- The set of built-in functions.
37 \item[__main__]
38 --- The environment where the top-level script is run.
40 \end{description}