Python Services -- Python library reference



Next: String Services Prev: Built-in Objects Up: Top Top: Top

3. Python Services

The modules described in this chapter provide a wide range of services related to the Python interpreter and its interaction with its environment. Here's an overview:

sys
--- Access system specific parameters and functions.

types
--- Names for all built-in types.

traceback
--- Print or retrieve a stack traceback.

pickle
--- Convert Python objects to streams of bytes and back.

shelve
--- Python object persistency.

copy
--- Shallow and deep copy operations.

marshal
--- Convert Python objects to streams of bytes and back (with different constraints).

imp
--- Access the implementation of the import statement.

__builtin__
--- The set of built-in functions.

__main__
--- The environment where the top-level script is run.

Menu

sys
types
traceback
pickle
shelve
copy
marshal
imp
parser
__builtin__
__main__


Next: String Services Prev: Built-in Objects Up: Top Top: Top