<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>27. Python Runtime Services — Python v2.6.6 documentation</title>
<link rel="stylesheet" href="../_static/default.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
VERSION: '2.6.6',
COLLAPSE_MODINDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</script>
<script type="text/javascript" src="../_static/jquery.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<link rel="search" type="application/opensearchdescription+xml"
title="Search within Python v2.6.6 documentation"
href="../_static/opensearch.xml"/>
<link rel="author" title="About these documents" href="../about.html" />
<link rel="copyright" title="Copyright" href="../copyright.html" />
<link rel="top" title="Python v2.6.6 documentation" href="../index.html" />
<link rel="up" title="The Python Standard Library" href="index.html" />
<link rel="next" title="27.1. sys — System-specific parameters and functions" href="sys.html" />
<link rel="prev" title="26.7. trace — Trace or track Python statement execution" href="trace.html" />
<link rel="shortcut icon" type="image/png" href="../_static/py.png" />
</head>
<body>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="../genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="../modindex.html" title="Global Module Index"
accesskey="M">modules</a> |</li>
<li class="right" >
<a href="sys.html" title="27.1. sys — System-specific parameters and functions"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="trace.html" title="26.7. trace — Trace or track Python statement execution"
accesskey="P">previous</a> |</li>
<li><img src="../_static/py.png" alt=""
style="vertical-align: middle; margin-top: -1px"/></li>
<li><a href="../index.html">Python v2.6.6 documentation</a> »</li>
<li><a href="index.html" accesskey="U">The Python Standard Library</a> »</li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body">
<div class="section" id="python-runtime-services">
<span id="python"></span><h1>27. Python Runtime Services<a class="headerlink" href="#python-runtime-services" title="Permalink to this headline">¶</a></h1>
<p>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>
<ul>
<li class="toctree-l1"><a class="reference external" href="sys.html">27.1. <tt class="docutils literal"><span class="pre">sys</span></tt> — System-specific parameters and functions</a></li>
<li class="toctree-l1"><a class="reference external" href="__builtin__.html">27.2. <tt class="docutils literal"><span class="pre">__builtin__</span></tt> — Built-in objects</a></li>
<li class="toctree-l1"><a class="reference external" href="future_builtins.html">27.3. <tt class="docutils literal"><span class="pre">future_builtins</span></tt> — Python 3 builtins</a></li>
<li class="toctree-l1"><a class="reference external" href="__main__.html">27.4. <tt class="docutils literal"><span class="pre">__main__</span></tt> — Top-level script environment</a></li>
<li class="toctree-l1"><a class="reference external" href="warnings.html">27.5. <tt class="docutils literal"><span class="pre">warnings</span></tt> — Warning control</a><ul>
<li class="toctree-l2"><a class="reference external" href="warnings.html#warning-categories">27.5.1. Warning Categories</a></li>
<li class="toctree-l2"><a class="reference external" href="warnings.html#the-warnings-filter">27.5.2. The Warnings Filter</a></li>
<li class="toctree-l2"><a class="reference external" href="warnings.html#temporarily-suppressing-warnings">27.5.3. Temporarily Suppressing Warnings</a></li>
<li class="toctree-l2"><a class="reference external" href="warnings.html#testing-warnings">27.5.4. Testing Warnings</a></li>
<li class="toctree-l2"><a class="reference external" href="warnings.html#available-functions">27.5.5. Available Functions</a></li>
<li class="toctree-l2"><a class="reference external" href="warnings.html#available-context-managers">27.5.6. Available Context Managers</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference external" href="contextlib.html">27.6. <tt class="docutils literal"><span class="pre">contextlib</span></tt> — Utilities for <tt class="docutils literal"><span class="pre">with</span></tt>-statement contexts</a></li>
<li class="toctree-l1"><a class="reference external" href="abc.html">27.7. <tt class="docutils literal"><span class="pre">abc</span></tt> — Abstract Base Classes</a></li>
<li class="toctree-l1"><a class="reference external" href="atexit.html">27.8. <tt class="docutils literal"><span class="pre">atexit</span></tt> — Exit handlers</a><ul>
<li class="toctree-l2"><a class="reference external" href="atexit.html#atexit-example">27.8.1. <tt class="docutils literal"><span class="pre">atexit</span></tt> Example</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference external" href="traceback.html">27.9. <tt class="docutils literal"><span class="pre">traceback</span></tt> — Print or retrieve a stack traceback</a><ul>
<li class="toctree-l2"><a class="reference external" href="traceback.html#traceback-examples">27.9.1. Traceback Examples</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference external" href="__future__.html">27.10. <tt class="docutils literal"><span class="pre">__future__</span></tt> — Future statement definitions</a></li>
<li class="toctree-l1"><a class="reference external" href="gc.html">27.11. <tt class="docutils literal"><span class="pre">gc</span></tt> — Garbage Collector interface</a></li>
<li class="toctree-l1"><a class="reference external" href="inspect.html">27.12. <tt class="docutils literal"><span class="pre">inspect</span></tt> — Inspect live objects</a><ul>
<li class="toctree-l2"><a class="reference external" href="inspect.html#types-and-members">27.12.1. Types and members</a></li>
<li class="toctree-l2"><a class="reference external" href="inspect.html#retrieving-source-code">27.12.2. Retrieving source code</a></li>
<li class="toctree-l2"><a class="reference external" href="inspect.html#classes-and-functions">27.12.3. Classes and functions</a></li>
<li class="toctree-l2"><a class="reference external" href="inspect.html#the-interpreter-stack">27.12.4. The interpreter stack</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference external" href="site.html">27.13. <tt class="docutils literal"><span class="pre">site</span></tt> — Site-specific configuration hook</a></li>
<li class="toctree-l1"><a class="reference external" href="user.html">27.14. <tt class="docutils literal"><span class="pre">user</span></tt> — User-specific configuration hook</a></li>
<li class="toctree-l1"><a class="reference external" href="fpectl.html">27.15. <tt class="docutils literal"><span class="pre">fpectl</span></tt> — Floating point exception control</a><ul>
<li class="toctree-l2"><a class="reference external" href="fpectl.html#example">27.15.1. Example</a></li>
<li class="toctree-l2"><a class="reference external" href="fpectl.html#limitations-and-other-considerations">27.15.2. Limitations and other considerations</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference external" href="distutils.html">27.16. <tt class="docutils literal"><span class="pre">distutils</span></tt> — Building and installing Python modules</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar">
<div class="sphinxsidebarwrapper">
<h4>Previous topic</h4>
<p class="topless"><a href="trace.html"
title="previous chapter">26.7. <tt class="docutils literal"><span class="pre">trace</span></tt> — Trace or track Python statement execution</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="sys.html"
title="next chapter">27.1. <tt class="docutils literal docutils literal"><span class="pre">sys</span></tt> — System-specific parameters and functions</a></p>
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="../bugs.html">Report a Bug</a></li>
<li><a href="../_sources/library/python.txt"
rel="nofollow">Show Source</a></li>
</ul>
<div id="searchbox" style="display: none">
<h3>Quick search</h3>
<form class="search" action="../search.html" method="get">
<input type="text" name="q" size="18" />
<input type="submit" value="Go" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
<p class="searchtip" style="font-size: 90%">
Enter search terms or a module, class or function name.
</p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="../genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="../modindex.html" title="Global Module Index"
>modules</a> |</li>
<li class="right" >
<a href="sys.html" title="27.1. sys — System-specific parameters and functions"
>next</a> |</li>
<li class="right" >
<a href="trace.html" title="26.7. trace — Trace or track Python statement execution"
>previous</a> |</li>
<li><img src="../_static/py.png" alt=""
style="vertical-align: middle; margin-top: -1px"/></li>
<li><a href="../index.html">Python v2.6.6 documentation</a> »</li>
<li><a href="index.html" >The Python Standard Library</a> »</li>
</ul>
</div>
<div class="footer">
© <a href="../copyright.html">Copyright</a> 1990-2011, Python Software Foundation.
<br />
The Python Software Foundation is a non-profit corporation.
<a href="http://www.python.org/psf/donations/">Please donate.</a>
<br />
Last updated on Jul 20, 2011.
<a href="../bugs.html">Found a bug</a>?
<br />
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.6.
</div>
</body>
</html>
Copyright 2K16 - 2K18 Indonesian Hacker Rulez