Path : /usr/share/doc/python2/html/library/ |
Current File : //usr/share/doc/python2/html/library/undoc.html |
<!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="X-UA-Compatible" content="IE=Edge" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>41. Undocumented Modules — Python 2.7.18 documentation</title> <link rel="stylesheet" href="../_static/classic.css" type="text/css" /> <link rel="stylesheet" href="../_static/pygments.css" type="text/css" /> <script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></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/language_data.js"></script> <script type="text/javascript" src="../_static/sidebar.js"></script> <link rel="search" type="application/opensearchdescription+xml" title="Search within Python 2.7.18 documentation" href="../_static/opensearch.xml"/> <link rel="author" title="About these documents" href="../about.html" /> <link rel="index" title="Index" href="../genindex.html" /> <link rel="search" title="Search" href="../search.html" /> <link rel="copyright" title="Copyright" href="../copyright.html" /> <link rel="next" title="Extending and Embedding the Python Interpreter" href="../extending/index.html" /> <link rel="prev" title="40.1. sunaudiodev — Access to Sun audio hardware" href="sunaudio.html" /> <link rel="shortcut icon" type="image/png" href="../_static/py.png" /> <link rel="canonical" href="file:///usr/share/doc/python2.7/html/library/undoc.html" /> <script type="text/javascript" src="../_static/copybutton.js"></script> </head><body> <div id="outdated-warning" style="padding: .5em; text-align: center; background-color: #FFBABA; color: #6A0E0E;"> This document is for an old version of Python that is <a href="https://devguide.python.org/devcycle/#end-of-life-branches">no longer supported</a>. You should install the python3 and python3-doc packages and read the <a href="file:///usr/share/doc/python3-doc/html/library/undoc.html"> Python documentation for the Python3 version packaged in this release</a>. </div> <div class="related" role="navigation" aria-label="related navigation"> <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="../extending/index.html" title="Extending and Embedding the Python Interpreter" accesskey="N">next</a> |</li> <li class="right" > <a href="sunaudio.html" title="40.1. sunaudiodev — Access to Sun audio hardware" accesskey="P">previous</a> |</li> <li><img src="../_static/py.png" alt="" style="vertical-align: middle; margin-top: -1px"/></li> <li><a href="https://www.python.org/">Python</a> »</li> <li> <a href="../index.html">Python 2.7.18 documentation</a> » </li> <li class="nav-item nav-item-1"><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" role="main"> <div class="section" id="undocumented-modules"> <span id="undoc"></span><h1>41. Undocumented Modules<a class="headerlink" href="#undocumented-modules" title="Permalink to this headline">¶</a></h1> <p>Here’s a quick listing of modules that are currently undocumented, but that should be documented. Feel free to contribute documentation for them! (Send via email to <a class="reference external" href="mailto:docs%40python.org">docs<span>@</span>python<span>.</span>org</a>.)</p> <p>The idea and original contents for this chapter were taken from a posting by Fredrik Lundh; the specific contents of this chapter have been substantially revised.</p> <div class="section" id="miscellaneous-useful-utilities"> <h2>41.1. Miscellaneous useful utilities<a class="headerlink" href="#miscellaneous-useful-utilities" title="Permalink to this headline">¶</a></h2> <p>Some of these are very old and/or not very robust; marked with “hmm.”</p> <dl class="docutils"> <dt><code class="xref py py-mod docutils literal notranslate"><span class="pre">ihooks</span></code></dt> <dd>— Import hook support (for <a class="reference internal" href="rexec.html#module-rexec" title="rexec: Basic restricted execution framework. (deprecated)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">rexec</span></code></a>; may become obsolete). Removed in Python 3.x.</dd> </dl> </div> <div class="section" id="platform-specific-modules"> <h2>41.2. Platform specific modules<a class="headerlink" href="#platform-specific-modules" title="Permalink to this headline">¶</a></h2> <p>These modules are used to implement the <a class="reference internal" href="os.path.html#module-os.path" title="os.path: Operations on pathnames."><code class="xref py py-mod docutils literal notranslate"><span class="pre">os.path</span></code></a> module, and are not documented beyond this mention. There’s little need to document these.</p> <dl class="docutils"> <dt><code class="xref py py-mod docutils literal notranslate"><span class="pre">ntpath</span></code></dt> <dd>— Implementation of <a class="reference internal" href="os.path.html#module-os.path" title="os.path: Operations on pathnames."><code class="xref py py-mod docutils literal notranslate"><span class="pre">os.path</span></code></a> on Win32, Win64, WinCE, and OS/2 platforms.</dd> <dt><code class="xref py py-mod docutils literal notranslate"><span class="pre">posixpath</span></code></dt> <dd>— Implementation of <a class="reference internal" href="os.path.html#module-os.path" title="os.path: Operations on pathnames."><code class="xref py py-mod docutils literal notranslate"><span class="pre">os.path</span></code></a> on POSIX.</dd> <dt><code class="xref py py-mod docutils literal notranslate"><span class="pre">bsddb185</span></code></dt> <dd>— Backwards compatibility module for systems which still use the Berkeley DB 1.85 module. It is normally only available on certain BSD Unix-based systems. It should never be used directly.</dd> </dl> </div> <div class="section" id="multimedia"> <h2>41.3. Multimedia<a class="headerlink" href="#multimedia" title="Permalink to this headline">¶</a></h2> <dl class="docutils"> <dt><code class="xref py py-mod docutils literal notranslate"><span class="pre">audiodev</span></code></dt> <dd>— Platform-independent API for playing audio data. Removed in Python 3.x.</dd> <dt><code class="xref py py-mod docutils literal notranslate"><span class="pre">linuxaudiodev</span></code></dt> <dd>— Play audio data on the Linux audio device. Replaced in Python 2.3 by the <a class="reference internal" href="ossaudiodev.html#module-ossaudiodev" title="ossaudiodev: Access to OSS-compatible audio devices. (Linux, FreeBSD)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">ossaudiodev</span></code></a> module. Removed in Python 3.x.</dd> <dt><code class="xref py py-mod docutils literal notranslate"><span class="pre">sunaudio</span></code></dt> <dd>— Interpret Sun audio headers (may become obsolete or a tool/demo). Removed in Python 3.x.</dd> <dt><code class="xref py py-mod docutils literal notranslate"><span class="pre">toaiff</span></code></dt> <dd>— Convert “arbitrary” sound files to AIFF files; should probably become a tool or demo. Requires the external program <strong class="program">sox</strong>. Removed in Python 3.x.</dd> </dl> </div> <div class="section" id="undocumented-mac-os-modules"> <span id="undoc-mac-modules"></span><h2>41.4. Undocumented Mac OS modules<a class="headerlink" href="#undocumented-mac-os-modules" title="Permalink to this headline">¶</a></h2> <div class="section" id="module-applesingle"> <span id="applesingle-applesingle-decoder"></span><h3>41.4.1. <a class="reference internal" href="#module-applesingle" title="applesingle: Rudimentary decoder for AppleSingle format files. (deprecated) (Mac)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">applesingle</span></code></a> — AppleSingle decoder<a class="headerlink" href="#module-applesingle" title="Permalink to this headline">¶</a></h3> <div class="deprecated"> <p><span class="versionmodified">Deprecated since version 2.6.</span></p> </div> </div> <div class="section" id="module-buildtools"> <span id="buildtools-helper-module-for-buildapplet-and-friends"></span><h3>41.4.2. <a class="reference internal" href="#module-buildtools" title="buildtools: Helper module for BuildApplet, BuildApplication and macfreeze. (deprecated) (Mac)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">buildtools</span></code></a> — Helper module for BuildApplet and Friends<a class="headerlink" href="#module-buildtools" title="Permalink to this headline">¶</a></h3> <div class="deprecated"> <p><span class="versionmodified">Deprecated since version 2.4.</span></p> </div> </div> <div class="section" id="module-cfmfile"> <span id="cfmfile-code-fragment-resource-module"></span><h3>41.4.3. <a class="reference internal" href="#module-cfmfile" title="cfmfile: Code Fragment Resource module. (deprecated) (Mac)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">cfmfile</span></code></a> — Code Fragment Resource module<a class="headerlink" href="#module-cfmfile" title="Permalink to this headline">¶</a></h3> <p><a class="reference internal" href="#module-cfmfile" title="cfmfile: Code Fragment Resource module. (deprecated) (Mac)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">cfmfile</span></code></a> is a module that understands Code Fragments and the accompanying “cfrg” resources. It can parse them and merge them, and is used by BuildApplication to combine all plugin modules to a single executable.</p> <div class="deprecated"> <p><span class="versionmodified">Deprecated since version 2.4.</span></p> </div> </div> <div class="section" id="module-icopen"> <span id="icopen-internet-config-replacement-for-open"></span><h3>41.4.4. <a class="reference internal" href="#module-icopen" title="icopen: Internet Config replacement for open(). (deprecated) (Mac)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">icopen</span></code></a> — Internet Config replacement for <a class="reference internal" href="functions.html#open" title="open"><code class="xref py py-meth docutils literal notranslate"><span class="pre">open()</span></code></a><a class="headerlink" href="#module-icopen" title="Permalink to this headline">¶</a></h3> <p>Importing <a class="reference internal" href="#module-icopen" title="icopen: Internet Config replacement for open(). (deprecated) (Mac)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">icopen</span></code></a> will replace the built-in <a class="reference internal" href="functions.html#open" title="open"><code class="xref py py-meth docutils literal notranslate"><span class="pre">open()</span></code></a> with a version that uses Internet Config to set file type and creator for new files.</p> <div class="deprecated"> <p><span class="versionmodified">Deprecated since version 2.6.</span></p> </div> </div> <div class="section" id="module-macerrors"> <span id="macerrors-mac-os-errors"></span><h3>41.4.5. <a class="reference internal" href="#module-macerrors" title="macerrors: Constant definitions for many Mac OS error codes. (deprecated) (Mac)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">macerrors</span></code></a> — Mac OS Errors<a class="headerlink" href="#module-macerrors" title="Permalink to this headline">¶</a></h3> <p><a class="reference internal" href="#module-macerrors" title="macerrors: Constant definitions for many Mac OS error codes. (deprecated) (Mac)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">macerrors</span></code></a> contains constant definitions for many Mac OS error codes.</p> <div class="deprecated"> <p><span class="versionmodified">Deprecated since version 2.6.</span></p> </div> </div> <div class="section" id="module-macresource"> <span id="macresource-locate-script-resources"></span><h3>41.4.6. <a class="reference internal" href="#module-macresource" title="macresource: Locate script resources. (deprecated) (Mac)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">macresource</span></code></a> — Locate script resources<a class="headerlink" href="#module-macresource" title="Permalink to this headline">¶</a></h3> <p><a class="reference internal" href="#module-macresource" title="macresource: Locate script resources. (deprecated) (Mac)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">macresource</span></code></a> helps scripts finding their resources, such as dialogs and menus, without requiring special case code for when the script is run under MacPython, as a MacPython applet or under OSX Python.</p> <div class="deprecated"> <p><span class="versionmodified">Deprecated since version 2.6.</span></p> </div> </div> <div class="section" id="module-Nav"> <span id="nav-navservices-calls"></span><h3>41.4.7. <a class="reference internal" href="#module-Nav" title="Nav: Interface to Navigation Services. (deprecated) (Mac)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">Nav</span></code></a> — NavServices calls<a class="headerlink" href="#module-Nav" title="Permalink to this headline">¶</a></h3> <p>A low-level interface to Navigation Services.</p> <div class="deprecated"> <p><span class="versionmodified">Deprecated since version 2.6.</span></p> </div> </div> <div class="section" id="module-PixMapWrapper"> <span id="pixmapwrapper-wrapper-for-pixmap-objects"></span><h3>41.4.8. <a class="reference internal" href="#module-PixMapWrapper" title="PixMapWrapper: Wrapper for PixMap objects. (deprecated) (Mac)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">PixMapWrapper</span></code></a> — Wrapper for PixMap objects<a class="headerlink" href="#module-PixMapWrapper" title="Permalink to this headline">¶</a></h3> <p><a class="reference internal" href="#module-PixMapWrapper" title="PixMapWrapper: Wrapper for PixMap objects. (deprecated) (Mac)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">PixMapWrapper</span></code></a> wraps a PixMap object with a Python object that allows access to the fields by name. It also has methods to convert to and from <code class="xref py py-mod docutils literal notranslate"><span class="pre">PIL</span></code> images.</p> <div class="deprecated"> <p><span class="versionmodified">Deprecated since version 2.6.</span></p> </div> </div> <div class="section" id="module-videoreader"> <span id="videoreader-read-quicktime-movies"></span><h3>41.4.9. <a class="reference internal" href="#module-videoreader" title="videoreader: Read QuickTime movies frame by frame for further processing. (deprecated) (Mac)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">videoreader</span></code></a> — Read QuickTime movies<a class="headerlink" href="#module-videoreader" title="Permalink to this headline">¶</a></h3> <p><a class="reference internal" href="#module-videoreader" title="videoreader: Read QuickTime movies frame by frame for further processing. (deprecated) (Mac)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">videoreader</span></code></a> reads and decodes QuickTime movies and passes a stream of images to your program. It also provides some support for audio tracks.</p> <div class="deprecated"> <p><span class="versionmodified">Deprecated since version 2.6.</span></p> </div> </div> <div class="section" id="module-W"> <span id="w-widgets-built-on-framework"></span><h3>41.4.10. <a class="reference internal" href="#module-W" title="W: Widgets for the Mac, built on top of FrameWork. (deprecated) (Mac)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">W</span></code></a> — Widgets built on <a class="reference internal" href="framework.html#module-FrameWork" title="FrameWork: Interactive application framework. (deprecated) (Mac)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">FrameWork</span></code></a><a class="headerlink" href="#module-W" title="Permalink to this headline">¶</a></h3> <p>The <a class="reference internal" href="#module-W" title="W: Widgets for the Mac, built on top of FrameWork. (deprecated) (Mac)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">W</span></code></a> widgets are used extensively in the <strong class="program">IDE</strong>.</p> <div class="deprecated"> <p><span class="versionmodified">Deprecated since version 2.6.</span></p> </div> </div> </div> <div class="section" id="obsolete"> <span id="obsolete-modules"></span><h2>41.5. Obsolete<a class="headerlink" href="#obsolete" title="Permalink to this headline">¶</a></h2> <p>These modules are not normally available for import; additional work must be done to make them available.</p> <p>These extension modules written in C are not built by default. Under Unix, these must be enabled by uncommenting the appropriate lines in <code class="file docutils literal notranslate"><span class="pre">Modules/Setup</span></code> in the build tree and either rebuilding Python if the modules are statically linked, or building and installing the shared object if using dynamically-loaded extensions.</p> <dl class="docutils"> <dt><code class="xref py py-mod docutils literal notranslate"><span class="pre">timing</span></code></dt> <dd>— Measure time intervals to high resolution (use <a class="reference internal" href="time.html#time.clock" title="time.clock"><code class="xref py py-func docutils literal notranslate"><span class="pre">time.clock()</span></code></a> instead). Removed in Python 3.x.</dd> </dl> </div> <div class="section" id="sgi-specific-extension-modules"> <h2>41.6. SGI-specific Extension modules<a class="headerlink" href="#sgi-specific-extension-modules" title="Permalink to this headline">¶</a></h2> <p>The following are SGI specific, and may be out of touch with the current version of reality.</p> <dl class="docutils"> <dt><code class="xref py py-mod docutils literal notranslate"><span class="pre">cl</span></code></dt> <dd>— Interface to the SGI compression library.</dd> <dt><code class="xref py py-mod docutils literal notranslate"><span class="pre">sv</span></code></dt> <dd>— Interface to the “simple video” board on SGI Indigo (obsolete hardware). Removed in Python 3.x.</dd> </dl> </div> </div> </div> </div> </div> <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> <div class="sphinxsidebarwrapper"> <h3><a href="../contents.html">Table of Contents</a></h3> <ul> <li><a class="reference internal" href="#">41. Undocumented Modules</a><ul> <li><a class="reference internal" href="#miscellaneous-useful-utilities">41.1. Miscellaneous useful utilities</a></li> <li><a class="reference internal" href="#platform-specific-modules">41.2. Platform specific modules</a></li> <li><a class="reference internal" href="#multimedia">41.3. Multimedia</a></li> <li><a class="reference internal" href="#undocumented-mac-os-modules">41.4. Undocumented Mac OS modules</a><ul> <li><a class="reference internal" href="#module-applesingle">41.4.1. <code class="docutils literal notranslate"><span class="pre">applesingle</span></code> — AppleSingle decoder</a></li> <li><a class="reference internal" href="#module-buildtools">41.4.2. <code class="docutils literal notranslate"><span class="pre">buildtools</span></code> — Helper module for BuildApplet and Friends</a></li> <li><a class="reference internal" href="#module-cfmfile">41.4.3. <code class="docutils literal notranslate"><span class="pre">cfmfile</span></code> — Code Fragment Resource module</a></li> <li><a class="reference internal" href="#module-icopen">41.4.4. <code class="docutils literal notranslate"><span class="pre">icopen</span></code> — Internet Config replacement for <code class="docutils literal notranslate"><span class="pre">open()</span></code></a></li> <li><a class="reference internal" href="#module-macerrors">41.4.5. <code class="docutils literal notranslate"><span class="pre">macerrors</span></code> — Mac OS Errors</a></li> <li><a class="reference internal" href="#module-macresource">41.4.6. <code class="docutils literal notranslate"><span class="pre">macresource</span></code> — Locate script resources</a></li> <li><a class="reference internal" href="#module-Nav">41.4.7. <code class="docutils literal notranslate"><span class="pre">Nav</span></code> — NavServices calls</a></li> <li><a class="reference internal" href="#module-PixMapWrapper">41.4.8. <code class="docutils literal notranslate"><span class="pre">PixMapWrapper</span></code> — Wrapper for PixMap objects</a></li> <li><a class="reference internal" href="#module-videoreader">41.4.9. <code class="docutils literal notranslate"><span class="pre">videoreader</span></code> — Read QuickTime movies</a></li> <li><a class="reference internal" href="#module-W">41.4.10. <code class="docutils literal notranslate"><span class="pre">W</span></code> — Widgets built on <code class="docutils literal notranslate"><span class="pre">FrameWork</span></code></a></li> </ul> </li> <li><a class="reference internal" href="#obsolete">41.5. Obsolete</a></li> <li><a class="reference internal" href="#sgi-specific-extension-modules">41.6. SGI-specific Extension modules</a></li> </ul> </li> </ul> <h4>Previous topic</h4> <p class="topless"><a href="sunaudio.html" title="previous chapter">40.1. <code class="docutils literal notranslate"><span class="pre">sunaudiodev</span></code> — Access to Sun audio hardware</a></p> <h4>Next topic</h4> <p class="topless"><a href="../extending/index.html" title="next chapter">Extending and Embedding the Python Interpreter</a></p> <div role="note" aria-label="source link"> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="../_sources/library/undoc.rst.txt" rel="nofollow">Show Source</a></li> </ul> </div> <div id="searchbox" style="display: none" role="search"> <h3>Quick search</h3> <div class="searchformwrapper"> <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> </div> </div> <script type="text/javascript">$('#searchbox').show(0);</script> </div> </div> <div class="clearer"></div> </div> <div class="related" role="navigation" aria-label="related navigation"> <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="../extending/index.html" title="Extending and Embedding the Python Interpreter" >next</a> |</li> <li class="right" > <a href="sunaudio.html" title="40.1. sunaudiodev — Access to Sun audio hardware" >previous</a> |</li> <li><img src="../_static/py.png" alt="" style="vertical-align: middle; margin-top: -1px"/></li> <li><a href="https://www.python.org/">Python</a> »</li> <li> <a href="../index.html">Python 2.7.18 documentation</a> » </li> <li class="nav-item nav-item-1"><a href="index.html" >The Python Standard Library</a> »</li> </ul> </div> <div class="footer"> © <a href="../copyright.html">Copyright</a> 1990-2024, Python Software Foundation. <br /> The Python Software Foundation is a non-profit corporation. <a href="https://www.python.org/psf/donations/">Please donate.</a> <br /> Last updated on November 21, 2024. <a href="../bugs.html">Found a bug</a>? <br /> Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.8.5. </div> </body> </html>