Staging
v0.5.1
https://github.com/python/cpython
Revision 9b24649118b99987a42fcab0a9793bd5d2b0d762 authored by cvs2svn on 15 August 1997, 20:18:44 UTC, committed by cvs2svn on 15 August 1997, 20:18:44 UTC
1 parent 1fed5b3
Raw File
Tip revision: 9b24649118b99987a42fcab0a9793bd5d2b0d762 authored by cvs2svn on 15 August 1997, 20:18:44 UTC
This commit was manufactured by cvs2svn to create tag 'r15a3'.
Tip revision: 9b24649
libpython.tex
\chapter{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:

\begin{description}

\item[sys]
--- Access system specific parameters and functions.

\item[types]
--- Names for all built-in types.

\item[UserDict, UserList]
--- Class wrappers for dictionary and list objects.

\item[traceback]
--- Print or retrieve a stack traceback.

\item[pickle]
--- Convert Python objects to streams of bytes and back.

\item[shelve]
--- Python object persistency.

\item[copy]
--- Shallow and deep copy operations.

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

\item[imp]
--- Access the implementation of the \code{import} statement.

\item[parser]
--- Retrieve and submit parse trees from and to the runtime support
environment.

\item[site]
--- A standard way to reference site-specific modules.

\item[__builtin__]
--- The set of built-in functions.

\item[__main__]
--- The environment where the top-level script is run.

\end{description}
back to top