uTools-Manuals/docs/python/macpath.html
2019-04-08 23:22:26 +08:00

1 line
2.1 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<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>