<!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>Importing Modules — Python Module of the Week</title> <link rel="stylesheet" href="_static/sphinxdoc.css" type="text/css" /> <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: '', VERSION: '1.132', 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> <link rel="author" title="About these documents" href="about.html" /> <link rel="top" title="Python Module of the Week" href="index.html" /> <link rel="next" title="imp – Interface to module import mechanism." href="imp/index.html" /> <link rel="prev" title="tabnanny – Indentation validator" href="tabnanny/index.html" /> </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="imp/index.html" title="imp – Interface to module import mechanism." accesskey="N">next</a> |</li> <li class="right" > <a href="tabnanny/index.html" title="tabnanny – Indentation validator" accesskey="P">previous</a> |</li> <li><a href="contents.html">PyMOTW</a> »</li> </ul> </div> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"> <h4>Previous topic</h4> <p class="topless"><a href="tabnanny/index.html" title="previous chapter">tabnanny – Indentation validator</a></p> <h4>Next topic</h4> <p class="topless"><a href="imp/index.html" title="next chapter">imp – Interface to module import mechanism.</a></p> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="_sources/importing.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="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <div class="section" id="importing-modules"> <h1>Importing Modules<a class="headerlink" href="#importing-modules" title="Permalink to this headline">¶</a></h1> <div class="toctree-wrapper compound"> <ul> <li class="toctree-l1"><a class="reference internal" href="imp/index.html">imp – Interface to module import mechanism.</a></li> <li class="toctree-l1"><a class="reference internal" href="pkgutil/index.html">pkgutil – Package Utilities</a></li> <li class="toctree-l1"><a class="reference internal" href="zipimport/index.html">zipimport – Load Python code from inside ZIP archives</a></li> </ul> </div> </div> </div> </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="imp/index.html" title="imp – Interface to module import mechanism." >next</a> |</li> <li class="right" > <a href="tabnanny/index.html" title="tabnanny – Indentation validator" >previous</a> |</li> <li><a href="contents.html">PyMOTW</a> »</li> </ul> </div> <div class="footer"> © Copyright Doug Hellmann. Last updated on Oct 24, 2010. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a>. <br/><a href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/" rel="license"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-nc-sa/3.0/us/88x31.png"/></a> </div> </body> </html>