gooderp18绿色标准版
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

421 行
24KB

  1. <!DOCTYPE html>
  2. <html lang="en" data-content_root="../">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
  6. <meta property="og:title" content="pipes — Interface to shell pipelines" />
  7. <meta property="og:type" content="website" />
  8. <meta property="og:url" content="https://docs.python.org/3/library/pipes.html" />
  9. <meta property="og:site_name" content="Python documentation" />
  10. <meta property="og:description" content="Source code: Lib/pipes.py The pipes module defines a class to abstract the concept of a pipeline — a sequence of converters from one file to another. Because the module uses/bin/sh command lines, a..." />
  11. <meta property="og:image" content="https://docs.python.org/3/_static/og-image.png" />
  12. <meta property="og:image:alt" content="Python documentation" />
  13. <meta name="description" content="Source code: Lib/pipes.py The pipes module defines a class to abstract the concept of a pipeline — a sequence of converters from one file to another. Because the module uses/bin/sh command lines, a..." />
  14. <meta property="og:image:width" content="200" />
  15. <meta property="og:image:height" content="200" />
  16. <meta name="theme-color" content="#3776ab" />
  17. <title>pipes — Interface to shell pipelines &#8212; Python 3.12.3 documentation</title><meta name="viewport" content="width=device-width, initial-scale=1.0">
  18. <link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=80d5e7a1" />
  19. <link rel="stylesheet" type="text/css" href="../_static/pydoctheme.css?v=bb723527" />
  20. <link id="pygments_dark_css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css" href="../_static/pygments_dark.css?v=b20cc3f5" />
  21. <script src="../_static/documentation_options.js?v=2c828074"></script>
  22. <script src="../_static/doctools.js?v=888ff710"></script>
  23. <script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
  24. <script src="../_static/sidebar.js"></script>
  25. <link rel="search" type="application/opensearchdescription+xml"
  26. title="Search within Python 3.12.3 documentation"
  27. href="../_static/opensearch.xml"/>
  28. <link rel="author" title="About these documents" href="../about.html" />
  29. <link rel="index" title="Index" href="../genindex.html" />
  30. <link rel="search" title="Search" href="../search.html" />
  31. <link rel="copyright" title="Copyright" href="../copyright.html" />
  32. <link rel="next" title="sndhdr — Determine type of sound file" href="sndhdr.html" />
  33. <link rel="prev" title="ossaudiodev — Access to OSS-compatible audio devices" href="ossaudiodev.html" />
  34. <link rel="canonical" href="https://docs.python.org/3/library/pipes.html" />
  35. <style>
  36. @media only screen {
  37. table.full-width-table {
  38. width: 100%;
  39. }
  40. }
  41. </style>
  42. <link rel="stylesheet" href="../_static/pydoctheme_dark.css" media="(prefers-color-scheme: dark)" id="pydoctheme_dark_css">
  43. <link rel="shortcut icon" type="image/png" href="../_static/py.svg" />
  44. <script type="text/javascript" src="../_static/copybutton.js"></script>
  45. <script type="text/javascript" src="../_static/menu.js"></script>
  46. <script type="text/javascript" src="../_static/search-focus.js"></script>
  47. <script type="text/javascript" src="../_static/themetoggle.js"></script>
  48. </head>
  49. <body>
  50. <div class="mobile-nav">
  51. <input type="checkbox" id="menuToggler" class="toggler__input" aria-controls="navigation"
  52. aria-pressed="false" aria-expanded="false" role="button" aria-label="Menu" />
  53. <nav class="nav-content" role="navigation">
  54. <label for="menuToggler" class="toggler__label">
  55. <span></span>
  56. </label>
  57. <span class="nav-items-wrapper">
  58. <a href="https://www.python.org/" class="nav-logo">
  59. <img src="../_static/py.svg" alt="Python logo"/>
  60. </a>
  61. <span class="version_switcher_placeholder"></span>
  62. <form role="search" class="search" action="../search.html" method="get">
  63. <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" class="search-icon">
  64. <path fill-rule="nonzero" fill="currentColor" d="M15.5 14h-.79l-.28-.27a6.5 6.5 0 001.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 00-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 005.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49L15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"></path>
  65. </svg>
  66. <input placeholder="Quick search" aria-label="Quick search" type="search" name="q" />
  67. <input type="submit" value="Go"/>
  68. </form>
  69. </span>
  70. </nav>
  71. <div class="menu-wrapper">
  72. <nav class="menu" role="navigation" aria-label="main navigation">
  73. <div class="language_switcher_placeholder"></div>
  74. <label class="theme-selector-label">
  75. Theme
  76. <select class="theme-selector" oninput="activateTheme(this.value)">
  77. <option value="auto" selected>Auto</option>
  78. <option value="light">Light</option>
  79. <option value="dark">Dark</option>
  80. </select>
  81. </label>
  82. <div>
  83. <h3><a href="../contents.html">Table of Contents</a></h3>
  84. <ul>
  85. <li><a class="reference internal" href="#"><code class="xref py py-mod docutils literal notranslate"><span class="pre">pipes</span></code> — Interface to shell pipelines</a><ul>
  86. <li><a class="reference internal" href="#template-objects">Template Objects</a></li>
  87. </ul>
  88. </li>
  89. </ul>
  90. </div>
  91. <div>
  92. <h4>Previous topic</h4>
  93. <p class="topless"><a href="ossaudiodev.html"
  94. title="previous chapter"><code class="xref py py-mod docutils literal notranslate"><span class="pre">ossaudiodev</span></code> — Access to OSS-compatible audio devices</a></p>
  95. </div>
  96. <div>
  97. <h4>Next topic</h4>
  98. <p class="topless"><a href="sndhdr.html"
  99. title="next chapter"><code class="xref py py-mod docutils literal notranslate"><span class="pre">sndhdr</span></code> — Determine type of sound file</a></p>
  100. </div>
  101. <div role="note" aria-label="source link">
  102. <h3>This Page</h3>
  103. <ul class="this-page-menu">
  104. <li><a href="../bugs.html">Report a Bug</a></li>
  105. <li>
  106. <a href="https://github.com/python/cpython/blob/main/Doc/library/pipes.rst"
  107. rel="nofollow">Show Source
  108. </a>
  109. </li>
  110. </ul>
  111. </div>
  112. </nav>
  113. </div>
  114. </div>
  115. <div class="related" role="navigation" aria-label="related navigation">
  116. <h3>Navigation</h3>
  117. <ul>
  118. <li class="right" style="margin-right: 10px">
  119. <a href="../genindex.html" title="General Index"
  120. accesskey="I">index</a></li>
  121. <li class="right" >
  122. <a href="../py-modindex.html" title="Python Module Index"
  123. >modules</a> |</li>
  124. <li class="right" >
  125. <a href="sndhdr.html" title="sndhdr — Determine type of sound file"
  126. accesskey="N">next</a> |</li>
  127. <li class="right" >
  128. <a href="ossaudiodev.html" title="ossaudiodev — Access to OSS-compatible audio devices"
  129. accesskey="P">previous</a> |</li>
  130. <li><img src="../_static/py.svg" alt="Python logo" style="vertical-align: middle; margin-top: -1px"/></li>
  131. <li><a href="https://www.python.org/">Python</a> &#187;</li>
  132. <li class="switchers">
  133. <div class="language_switcher_placeholder"></div>
  134. <div class="version_switcher_placeholder"></div>
  135. </li>
  136. <li>
  137. </li>
  138. <li id="cpython-language-and-version">
  139. <a href="../index.html">3.12.3 Documentation</a> &#187;
  140. </li>
  141. <li class="nav-item nav-item-1"><a href="index.html" >The Python Standard Library</a> &#187;</li>
  142. <li class="nav-item nav-item-2"><a href="superseded.html" accesskey="U">Superseded Modules</a> &#187;</li>
  143. <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">pipes</span></code> — Interface to shell pipelines</a></li>
  144. <li class="right">
  145. <div class="inline-search" role="search">
  146. <form class="inline-search" action="../search.html" method="get">
  147. <input placeholder="Quick search" aria-label="Quick search" type="search" name="q" id="search-box" />
  148. <input type="submit" value="Go" />
  149. </form>
  150. </div>
  151. |
  152. </li>
  153. <li class="right">
  154. <label class="theme-selector-label">
  155. Theme
  156. <select class="theme-selector" oninput="activateTheme(this.value)">
  157. <option value="auto" selected>Auto</option>
  158. <option value="light">Light</option>
  159. <option value="dark">Dark</option>
  160. </select>
  161. </label> |</li>
  162. </ul>
  163. </div>
  164. <div class="document">
  165. <div class="documentwrapper">
  166. <div class="bodywrapper">
  167. <div class="body" role="main">
  168. <section id="module-pipes">
  169. <span id="pipes-interface-to-shell-pipelines"></span><h1><a class="reference internal" href="#module-pipes" title="pipes: A Python interface to Unix shell pipelines. (deprecated) (Unix)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">pipes</span></code></a> — Interface to shell pipelines<a class="headerlink" href="#module-pipes" title="Link to this heading">¶</a></h1>
  170. <p><strong>Source code:</strong> <a class="reference external" href="https://github.com/python/cpython/tree/3.12/Lib/pipes.py">Lib/pipes.py</a></p>
  171. <div class="deprecated-removed">
  172. <p><span class="versionmodified">Deprecated since version 3.11, will be removed in version 3.13: </span>The <a class="reference internal" href="#module-pipes" title="pipes: A Python interface to Unix shell pipelines. (deprecated) (Unix)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">pipes</span></code></a> module is deprecated
  173. (see <span class="target" id="index-0"></span><a class="pep reference external" href="https://peps.python.org/pep-0594/#pipes"><strong>PEP 594</strong></a> for details).
  174. Please use the <a class="reference internal" href="subprocess.html#module-subprocess" title="subprocess: Subprocess management."><code class="xref py py-mod docutils literal notranslate"><span class="pre">subprocess</span></code></a> module instead.</p>
  175. </div>
  176. <hr class="docutils" />
  177. <p>The <a class="reference internal" href="#module-pipes" title="pipes: A Python interface to Unix shell pipelines. (deprecated) (Unix)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">pipes</span></code></a> module defines a class to abstract the concept of a <em>pipeline</em>
  178. — a sequence of converters from one file to another.</p>
  179. <p>Because the module uses <strong class="program">/bin/sh</strong> command lines, a POSIX or compatible
  180. shell for <a class="reference internal" href="os.html#os.system" title="os.system"><code class="xref py py-func docutils literal notranslate"><span class="pre">os.system()</span></code></a> and <a class="reference internal" href="os.html#os.popen" title="os.popen"><code class="xref py py-func docutils literal notranslate"><span class="pre">os.popen()</span></code></a> is required.</p>
  181. <div class="availability docutils container">
  182. <p><a class="reference internal" href="intro.html#availability"><span class="std std-ref">Availability</span></a>: Unix, not VxWorks.</p>
  183. </div>
  184. <p>The <a class="reference internal" href="#module-pipes" title="pipes: A Python interface to Unix shell pipelines. (deprecated) (Unix)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">pipes</span></code></a> module defines the following class:</p>
  185. <dl class="py class">
  186. <dt class="sig sig-object py" id="pipes.Template">
  187. <em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">pipes.</span></span><span class="sig-name descname"><span class="pre">Template</span></span><a class="headerlink" href="#pipes.Template" title="Link to this definition">¶</a></dt>
  188. <dd><p>An abstraction of a pipeline.</p>
  189. </dd></dl>
  190. <p>Example:</p>
  191. <div class="highlight-python3 notranslate"><div class="highlight"><pre><span></span><span class="gp">&gt;&gt;&gt; </span><span class="kn">import</span> <span class="nn">pipes</span>
  192. <span class="gp">&gt;&gt;&gt; </span><span class="n">t</span> <span class="o">=</span> <span class="n">pipes</span><span class="o">.</span><span class="n">Template</span><span class="p">()</span>
  193. <span class="gp">&gt;&gt;&gt; </span><span class="n">t</span><span class="o">.</span><span class="n">append</span><span class="p">(</span><span class="s1">&#39;tr a-z A-Z&#39;</span><span class="p">,</span> <span class="s1">&#39;--&#39;</span><span class="p">)</span>
  194. <span class="gp">&gt;&gt;&gt; </span><span class="n">f</span> <span class="o">=</span> <span class="n">t</span><span class="o">.</span><span class="n">open</span><span class="p">(</span><span class="s1">&#39;pipefile&#39;</span><span class="p">,</span> <span class="s1">&#39;w&#39;</span><span class="p">)</span>
  195. <span class="gp">&gt;&gt;&gt; </span><span class="n">f</span><span class="o">.</span><span class="n">write</span><span class="p">(</span><span class="s1">&#39;hello world&#39;</span><span class="p">)</span>
  196. <span class="gp">&gt;&gt;&gt; </span><span class="n">f</span><span class="o">.</span><span class="n">close</span><span class="p">()</span>
  197. <span class="gp">&gt;&gt;&gt; </span><span class="nb">open</span><span class="p">(</span><span class="s1">&#39;pipefile&#39;</span><span class="p">)</span><span class="o">.</span><span class="n">read</span><span class="p">()</span>
  198. <span class="go">&#39;HELLO WORLD&#39;</span>
  199. </pre></div>
  200. </div>
  201. <section id="template-objects">
  202. <span id="id1"></span><h2>Template Objects<a class="headerlink" href="#template-objects" title="Link to this heading">¶</a></h2>
  203. <p>Template objects following methods:</p>
  204. <dl class="py method">
  205. <dt class="sig sig-object py" id="pipes.Template.reset">
  206. <span class="sig-prename descclassname"><span class="pre">Template.</span></span><span class="sig-name descname"><span class="pre">reset</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pipes.Template.reset" title="Link to this definition">¶</a></dt>
  207. <dd><p>Restore a pipeline template to its initial state.</p>
  208. </dd></dl>
  209. <dl class="py method">
  210. <dt class="sig sig-object py" id="pipes.Template.clone">
  211. <span class="sig-prename descclassname"><span class="pre">Template.</span></span><span class="sig-name descname"><span class="pre">clone</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pipes.Template.clone" title="Link to this definition">¶</a></dt>
  212. <dd><p>Return a new, equivalent, pipeline template.</p>
  213. </dd></dl>
  214. <dl class="py method">
  215. <dt class="sig sig-object py" id="pipes.Template.debug">
  216. <span class="sig-prename descclassname"><span class="pre">Template.</span></span><span class="sig-name descname"><span class="pre">debug</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">flag</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#pipes.Template.debug" title="Link to this definition">¶</a></dt>
  217. <dd><p>If <em>flag</em> is true, turn debugging on. Otherwise, turn debugging off. When
  218. debugging is on, commands to be executed are printed, and the shell is given
  219. <code class="docutils literal notranslate"><span class="pre">set</span> <span class="pre">-x</span></code> command to be more verbose.</p>
  220. </dd></dl>
  221. <dl class="py method">
  222. <dt class="sig sig-object py" id="pipes.Template.append">
  223. <span class="sig-prename descclassname"><span class="pre">Template.</span></span><span class="sig-name descname"><span class="pre">append</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">cmd</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">kind</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#pipes.Template.append" title="Link to this definition">¶</a></dt>
  224. <dd><p>Append a new action at the end. The <em>cmd</em> variable must be a valid bourne shell
  225. command. The <em>kind</em> variable consists of two letters.</p>
  226. <p>The first letter can be either of <code class="docutils literal notranslate"><span class="pre">'-'</span></code> (which means the command reads its
  227. standard input), <code class="docutils literal notranslate"><span class="pre">'f'</span></code> (which means the commands reads a given file on the
  228. command line) or <code class="docutils literal notranslate"><span class="pre">'.'</span></code> (which means the commands reads no input, and hence
  229. must be first.)</p>
  230. <p>Similarly, the second letter can be either of <code class="docutils literal notranslate"><span class="pre">'-'</span></code> (which means the command
  231. writes to standard output), <code class="docutils literal notranslate"><span class="pre">'f'</span></code> (which means the command writes a file on
  232. the command line) or <code class="docutils literal notranslate"><span class="pre">'.'</span></code> (which means the command does not write anything,
  233. and hence must be last.)</p>
  234. </dd></dl>
  235. <dl class="py method">
  236. <dt class="sig sig-object py" id="pipes.Template.prepend">
  237. <span class="sig-prename descclassname"><span class="pre">Template.</span></span><span class="sig-name descname"><span class="pre">prepend</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">cmd</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">kind</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#pipes.Template.prepend" title="Link to this definition">¶</a></dt>
  238. <dd><p>Add a new action at the beginning. See <a class="reference internal" href="#pipes.Template.append" title="pipes.Template.append"><code class="xref py py-meth docutils literal notranslate"><span class="pre">append()</span></code></a> for explanations of the
  239. arguments.</p>
  240. </dd></dl>
  241. <dl class="py method">
  242. <dt class="sig sig-object py" id="pipes.Template.open">
  243. <span class="sig-prename descclassname"><span class="pre">Template.</span></span><span class="sig-name descname"><span class="pre">open</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">file</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">mode</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#pipes.Template.open" title="Link to this definition">¶</a></dt>
  244. <dd><p>Return a file-like object, open to <em>file</em>, but read from or written to by the
  245. pipeline. Note that only one of <code class="docutils literal notranslate"><span class="pre">'r'</span></code>, <code class="docutils literal notranslate"><span class="pre">'w'</span></code> may be given.</p>
  246. </dd></dl>
  247. <dl class="py method">
  248. <dt class="sig sig-object py" id="pipes.Template.copy">
  249. <span class="sig-prename descclassname"><span class="pre">Template.</span></span><span class="sig-name descname"><span class="pre">copy</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">infile</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">outfile</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#pipes.Template.copy" title="Link to this definition">¶</a></dt>
  250. <dd><p>Copy <em>infile</em> to <em>outfile</em> through the pipe.</p>
  251. </dd></dl>
  252. </section>
  253. </section>
  254. <div class="clearer"></div>
  255. </div>
  256. </div>
  257. </div>
  258. <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
  259. <div class="sphinxsidebarwrapper">
  260. <div>
  261. <h3><a href="../contents.html">Table of Contents</a></h3>
  262. <ul>
  263. <li><a class="reference internal" href="#"><code class="xref py py-mod docutils literal notranslate"><span class="pre">pipes</span></code> — Interface to shell pipelines</a><ul>
  264. <li><a class="reference internal" href="#template-objects">Template Objects</a></li>
  265. </ul>
  266. </li>
  267. </ul>
  268. </div>
  269. <div>
  270. <h4>Previous topic</h4>
  271. <p class="topless"><a href="ossaudiodev.html"
  272. title="previous chapter"><code class="xref py py-mod docutils literal notranslate"><span class="pre">ossaudiodev</span></code> — Access to OSS-compatible audio devices</a></p>
  273. </div>
  274. <div>
  275. <h4>Next topic</h4>
  276. <p class="topless"><a href="sndhdr.html"
  277. title="next chapter"><code class="xref py py-mod docutils literal notranslate"><span class="pre">sndhdr</span></code> — Determine type of sound file</a></p>
  278. </div>
  279. <div role="note" aria-label="source link">
  280. <h3>This Page</h3>
  281. <ul class="this-page-menu">
  282. <li><a href="../bugs.html">Report a Bug</a></li>
  283. <li>
  284. <a href="https://github.com/python/cpython/blob/main/Doc/library/pipes.rst"
  285. rel="nofollow">Show Source
  286. </a>
  287. </li>
  288. </ul>
  289. </div>
  290. </div>
  291. <div id="sidebarbutton" title="Collapse sidebar">
  292. <span>«</span>
  293. </div>
  294. </div>
  295. <div class="clearer"></div>
  296. </div>
  297. <div class="related" role="navigation" aria-label="related navigation">
  298. <h3>Navigation</h3>
  299. <ul>
  300. <li class="right" style="margin-right: 10px">
  301. <a href="../genindex.html" title="General Index"
  302. >index</a></li>
  303. <li class="right" >
  304. <a href="../py-modindex.html" title="Python Module Index"
  305. >modules</a> |</li>
  306. <li class="right" >
  307. <a href="sndhdr.html" title="sndhdr — Determine type of sound file"
  308. >next</a> |</li>
  309. <li class="right" >
  310. <a href="ossaudiodev.html" title="ossaudiodev — Access to OSS-compatible audio devices"
  311. >previous</a> |</li>
  312. <li><img src="../_static/py.svg" alt="Python logo" style="vertical-align: middle; margin-top: -1px"/></li>
  313. <li><a href="https://www.python.org/">Python</a> &#187;</li>
  314. <li class="switchers">
  315. <div class="language_switcher_placeholder"></div>
  316. <div class="version_switcher_placeholder"></div>
  317. </li>
  318. <li>
  319. </li>
  320. <li id="cpython-language-and-version">
  321. <a href="../index.html">3.12.3 Documentation</a> &#187;
  322. </li>
  323. <li class="nav-item nav-item-1"><a href="index.html" >The Python Standard Library</a> &#187;</li>
  324. <li class="nav-item nav-item-2"><a href="superseded.html" >Superseded Modules</a> &#187;</li>
  325. <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">pipes</span></code> — Interface to shell pipelines</a></li>
  326. <li class="right">
  327. <div class="inline-search" role="search">
  328. <form class="inline-search" action="../search.html" method="get">
  329. <input placeholder="Quick search" aria-label="Quick search" type="search" name="q" id="search-box" />
  330. <input type="submit" value="Go" />
  331. </form>
  332. </div>
  333. |
  334. </li>
  335. <li class="right">
  336. <label class="theme-selector-label">
  337. Theme
  338. <select class="theme-selector" oninput="activateTheme(this.value)">
  339. <option value="auto" selected>Auto</option>
  340. <option value="light">Light</option>
  341. <option value="dark">Dark</option>
  342. </select>
  343. </label> |</li>
  344. </ul>
  345. </div>
  346. <div class="footer">
  347. &copy;
  348. <a href="../copyright.html">
  349. Copyright
  350. </a>
  351. 2001-2024, Python Software Foundation.
  352. <br />
  353. This page is licensed under the Python Software Foundation License Version 2.
  354. <br />
  355. Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
  356. <br />
  357. See <a href="/license.html">History and License</a> for more information.<br />
  358. <br />
  359. The Python Software Foundation is a non-profit corporation.
  360. <a href="https://www.python.org/psf/donations/">Please donate.</a>
  361. <br />
  362. <br />
  363. Last updated on Apr 09, 2024 (13:47 UTC).
  364. <a href="/bugs.html">Found a bug</a>?
  365. <br />
  366. Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.2.6.
  367. </div>
  368. </body>
  369. </html>
上海开阖软件有限公司 沪ICP备12045867号-1