home *** CD-ROM | disk | FTP | other *** search
- <TITLE>Python Services -- Python library reference</TITLE>
- Next: <A HREF="../s/string_services" TYPE="Next">String Services</A>
- Prev: <A HREF="../b/built-in_objects" TYPE="Prev">Built-in Objects</A>
- Up: <A HREF="../t/top" TYPE="Up">Top</A>
- Top: <A HREF="../t/top" TYPE="Top">Top</A>
- <H1>3. Python Services</H1>
- 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:
- <P>
- <DL>
- <DT><B>sys</B><DD>--- Access system specific parameters and functions.
- <P>
- <DT><B>types</B><DD>--- Names for all built-in types.
- <P>
- <DT><B>traceback</B><DD>--- Print or retrieve a stack traceback.
- <P>
- <DT><B>pickle</B><DD>--- Convert Python objects to streams of bytes and back.
- <P>
- <DT><B>shelve</B><DD>--- Python object persistency.
- <P>
- <DT><B>copy</B><DD>--- Shallow and deep copy operations.
- <P>
- <DT><B>marshal</B><DD>--- Convert Python objects to streams of bytes and back (with
- different constraints).
- <P>
- <DT><B>imp</B><DD>--- Access the implementation of the <CODE>import</CODE> statement.
- <P>
- <DT><B>parser</B><DD>--- Retrieve and submit parse trees from and to the runtime support
- environment.
- <P>
- <DT><B>__builtin__</B><DD>--- The set of built-in functions.
- <P>
- <DT><B>__main__</B><DD>--- The environment where the top-level script is run.
- <P>
- </DL>
- <H2>Menu</H2><DL COMPACT>
- <DT><A HREF="../s/sys" TYPE=Menu>sys</A>
- <DD><DT><A HREF="../t/types" TYPE=Menu>types</A>
- <DD><DT><A HREF="../t/traceback" TYPE=Menu>traceback</A>
- <DD><DT><A HREF="../p/pickle" TYPE=Menu>pickle</A>
- <DD><DT><A HREF="../s/shelve" TYPE=Menu>shelve</A>
- <DD><DT><A HREF="../c/copy" TYPE=Menu>copy</A>
- <DD><DT><A HREF="../m/marshal" TYPE=Menu>marshal</A>
- <DD><DT><A HREF="../i/imp" TYPE=Menu>imp</A>
- <DD><DT><A HREF="../_/__builtin__" TYPE=Menu>__builtin__</A>
- <DD><DT><A HREF="../_/__main__" TYPE=Menu>__main__</A>
- <DD></DL>
-