[ SEA-GHOST MINI SHELL]
<!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 2.7.5 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.7.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</script>
<script type="text/javascript" src="../_static/jquery.js"></script>
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<script type="text/javascript" src="../_static/sidebar.js"></script>
<link rel="search" type="application/opensearchdescription+xml"
title="Search within Python 2.7.5 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 2.7.5 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" />
<script type="text/javascript" src="../_static/copybutton.js"></script>
</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="../py-modindex.html" title="Python Module Index"
>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="http://www.python.org/">Python</a> »</li>
<li>
<a href="../index.html">Python 2.7.5 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>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" 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 internal" href="sysconfig.html">27.2. <tt class="docutils literal"><span class="pre">sysconfig</span></tt> — Provide access to Python’s configuration information</a><ul>
<li class="toctree-l2"><a class="reference internal" href="sysconfig.html#configuration-variables">27.2.1. Configuration variables</a></li>
<li class="toctree-l2"><a class="reference internal" href="sysconfig.html#installation-paths">27.2.2. Installation paths</a></li>
<li class="toctree-l2"><a class="reference internal" href="sysconfig.html#other-functions">27.2.3. Other functions</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="__builtin__.html">27.3. <tt class="docutils literal"><span class="pre">__builtin__</span></tt> — Built-in objects</a></li>
<li class="toctree-l1"><a class="reference internal" href="future_builtins.html">27.4. <tt class="docutils literal"><span class="pre">future_builtins</span></tt> — Python 3 builtins</a></li>
<li class="toctree-l1"><a class="reference internal" href="__main__.html">27.5. <tt class="docutils literal"><span class="pre">__main__</span></tt> — Top-level script environment</a></li>
<li class="toctree-l1"><a class="reference internal" href="warnings.html">27.6. <tt class="docutils literal"><span class="pre">warnings</span></tt> — Warning control</a><ul>
<li class="toctree-l2"><a class="reference internal" href="warnings.html#warning-categories">27.6.1. Warning Categories</a></li>
<li class="toctree-l2"><a class="reference internal" href="warnings.html#the-warnings-filter">27.6.2. The Warnings Filter</a><ul>
<li class="toctree-l3"><a class="reference internal" href="warnings.html#default-warning-filters">27.6.2.1. Default Warning Filters</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="warnings.html#temporarily-suppressing-warnings">27.6.3. Temporarily Suppressing Warnings</a></li>
<li class="toctree-l2"><a class="reference internal" href="warnings.html#testing-warnings">27.6.4. Testing Warnings</a></li>
<li class="toctree-l2"><a class="reference internal" href="warnings.html#updating-code-for-new-versions-of-python">27.6.5. Updating Code For New Versions of Python</a></li>
<li class="toctree-l2"><a class="reference internal" href="warnings.html#available-functions">27.6.6. Available Functions</a></li>
<li class="toctree-l2"><a class="reference internal" href="warnings.html#available-context-managers">27.6.7. Available Context Managers</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="contextlib.html">27.7. <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 internal" href="abc.html">27.8. <tt class="docutils literal"><span class="pre">abc</span></tt> — Abstract Base Classes</a></li>
<li class="toctree-l1"><a class="reference internal" href="atexit.html">27.9. <tt class="docutils literal"><span class="pre">atexit</span></tt> — Exit handlers</a><ul>
<li class="toctree-l2"><a class="reference internal" href="atexit.html#atexit-example">27.9.1. <tt class="docutils literal"><span class="pre">atexit</span></tt> Example</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="traceback.html">27.10. <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 internal" href="traceback.html#traceback-examples">27.10.1. Traceback Examples</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="__future__.html">27.11. <tt class="docutils literal"><span class="pre">__future__</span></tt> — Future statement definitions</a></li>
<li class="toctree-l1"><a class="reference internal" href="gc.html">27.12. <tt class="docutils literal"><span class="pre">gc</span></tt> — Garbage Collector interface</a></li>
<li class="toctree-l1"><a class="reference internal" href="inspect.html">27.13. <tt class="docutils literal"><span class="pre">inspect</span></tt> — Inspect live objects</a><ul>
<li class="toctree-l2"><a class="reference internal" href="inspect.html#types-and-members">27.13.1. Types and members</a></li>
<li class="toctree-l2"><a class="reference internal" href="inspect.html#retrieving-source-code">27.13.2. Retrieving source code</a></li>
<li class="toctree-l2"><a class="reference internal" href="inspect.html#classes-and-functions">27.13.3. Classes and functions</a></li>
<li class="toctree-l2"><a class="reference internal" href="inspect.html#the-interpreter-stack">27.13.4. The interpreter stack</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="site.html">27.14. <tt class="docutils literal"><span class="pre">site</span></tt> — Site-specific configuration hook</a></li>
<li class="toctree-l1"><a class="reference internal" href="user.html">27.15. <tt class="docutils literal"><span class="pre">user</span></tt> — User-specific configuration hook</a></li>
<li class="toctree-l1"><a class="reference internal" href="fpectl.html">27.16. <tt class="docutils literal"><span class="pre">fpectl</span></tt> — Floating point exception control</a><ul>
<li class="toctree-l2"><a class="reference internal" href="fpectl.html#example">27.16.1. Example</a></li>
<li class="toctree-l2"><a class="reference internal" href="fpectl.html#limitations-and-other-considerations">27.16.2. Limitations and other considerations</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="distutils.html">27.17. <tt class="docutils literal"><span class="pre">distutils</span></tt> — Building and installing Python modules</a></li>
</ul>
</div>
</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"><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" />
<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="../py-modindex.html" title="Python 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="http://www.python.org/">Python</a> »</li>
<li>
<a href="../index.html">Python 2.7.5 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-2020, 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 Oct 13, 2020.
<a href="../bugs.html">Found a bug</a>?
<br />
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
</div>
</body>
</html>
SEA-GHOST - SHELL CODING BY SEA-GHOST