mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-08 06:55:36 +08:00
1 line
2.1 KiB
HTML
1 line
2.1 KiB
HTML
<div class="body" role="main"><div class="section" id="module-macpath"><h1><span class="yiyi-st" id="yiyi-10">11.11. <a class="reference internal" href="#module-macpath" title="macpath: Mac OS 9 path manipulation functions."><code class="xref py py-mod docutils literal"><span class="pre">macpath</span></code></a> - Mac OS 9路径处理函数</span></h1><p><span class="yiyi-st" id="yiyi-11"><strong>源代码:</strong> <a class="reference external" href="https://hg.python.org/cpython/file/3.5/Lib/macpath.py">Lib / macpath.py</a></span></p><p><span class="yiyi-st" id="yiyi-12">此模块是<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"><span class="pre">os.path</span></code></a>模块的Mac OS 9(和更早版本)实现。</span><span class="yiyi-st" id="yiyi-13">它可以用于操作Mac OS X(或任何其他平台)上的旧式Macintosh路径名。</span></p><p><span class="yiyi-st" id="yiyi-14">The following functions are available in this module: <code class="xref py py-func docutils literal"><span class="pre">normcase()</span></code>, <code class="xref py py-func docutils literal"><span class="pre">normpath()</span></code>, <code class="xref py py-func docutils literal"><span class="pre">isabs()</span></code>, <code class="xref py py-func docutils literal"><span class="pre">join()</span></code>, <code class="xref py py-func docutils literal"><span class="pre">split()</span></code>, <code class="xref py py-func docutils literal"><span class="pre">isdir()</span></code>, <code class="xref py py-func docutils literal"><span class="pre">isfile()</span></code>, <code class="xref py py-func docutils literal"><span class="pre">walk()</span></code>, <code class="xref py py-func docutils literal"><span class="pre">exists()</span></code>. </span><span class="yiyi-st" id="yiyi-15">对于<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"><span class="pre">os.path</span></code></a>中可用的其他函数,可以使用虚拟对象。</span></p></div></div> |