gooderp18绿色标准版
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

451 lignes
25KB

  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="chunk — Read IFF chunked data" />
  7. <meta property="og:type" content="website" />
  8. <meta property="og:url" content="https://docs.python.org/3/library/chunk.html" />
  9. <meta property="og:site_name" content="Python documentation" />
  10. <meta property="og:description" content="Source code: Lib/chunk.py This module provides an interface for reading files that use EA IFF 85 chunks. 1 This format is used in at least the Audio Interchange File Format (AIFF/AIFF-C) and the Re..." />
  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/chunk.py This module provides an interface for reading files that use EA IFF 85 chunks. 1 This format is used in at least the Audio Interchange File Format (AIFF/AIFF-C) and the Re..." />
  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>chunk — Read IFF chunked data &#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="crypt — Function to check Unix passwords" href="crypt.html" />
  33. <link rel="prev" title="cgitb — Traceback manager for CGI scripts" href="cgitb.html" />
  34. <link rel="canonical" href="https://docs.python.org/3/library/chunk.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. <h4>Previous topic</h4>
  84. <p class="topless"><a href="cgitb.html"
  85. title="previous chapter"><code class="xref py py-mod docutils literal notranslate"><span class="pre">cgitb</span></code> — Traceback manager for CGI scripts</a></p>
  86. </div>
  87. <div>
  88. <h4>Next topic</h4>
  89. <p class="topless"><a href="crypt.html"
  90. title="next chapter"><code class="xref py py-mod docutils literal notranslate"><span class="pre">crypt</span></code> — Function to check Unix passwords</a></p>
  91. </div>
  92. <div role="note" aria-label="source link">
  93. <h3>This Page</h3>
  94. <ul class="this-page-menu">
  95. <li><a href="../bugs.html">Report a Bug</a></li>
  96. <li>
  97. <a href="https://github.com/python/cpython/blob/main/Doc/library/chunk.rst"
  98. rel="nofollow">Show Source
  99. </a>
  100. </li>
  101. </ul>
  102. </div>
  103. </nav>
  104. </div>
  105. </div>
  106. <div class="related" role="navigation" aria-label="related navigation">
  107. <h3>Navigation</h3>
  108. <ul>
  109. <li class="right" style="margin-right: 10px">
  110. <a href="../genindex.html" title="General Index"
  111. accesskey="I">index</a></li>
  112. <li class="right" >
  113. <a href="../py-modindex.html" title="Python Module Index"
  114. >modules</a> |</li>
  115. <li class="right" >
  116. <a href="crypt.html" title="crypt — Function to check Unix passwords"
  117. accesskey="N">next</a> |</li>
  118. <li class="right" >
  119. <a href="cgitb.html" title="cgitb — Traceback manager for CGI scripts"
  120. accesskey="P">previous</a> |</li>
  121. <li><img src="../_static/py.svg" alt="Python logo" style="vertical-align: middle; margin-top: -1px"/></li>
  122. <li><a href="https://www.python.org/">Python</a> &#187;</li>
  123. <li class="switchers">
  124. <div class="language_switcher_placeholder"></div>
  125. <div class="version_switcher_placeholder"></div>
  126. </li>
  127. <li>
  128. </li>
  129. <li id="cpython-language-and-version">
  130. <a href="../index.html">3.12.3 Documentation</a> &#187;
  131. </li>
  132. <li class="nav-item nav-item-1"><a href="index.html" >The Python Standard Library</a> &#187;</li>
  133. <li class="nav-item nav-item-2"><a href="superseded.html" accesskey="U">Superseded Modules</a> &#187;</li>
  134. <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">chunk</span></code> — Read IFF chunked data</a></li>
  135. <li class="right">
  136. <div class="inline-search" role="search">
  137. <form class="inline-search" action="../search.html" method="get">
  138. <input placeholder="Quick search" aria-label="Quick search" type="search" name="q" id="search-box" />
  139. <input type="submit" value="Go" />
  140. </form>
  141. </div>
  142. |
  143. </li>
  144. <li class="right">
  145. <label class="theme-selector-label">
  146. Theme
  147. <select class="theme-selector" oninput="activateTheme(this.value)">
  148. <option value="auto" selected>Auto</option>
  149. <option value="light">Light</option>
  150. <option value="dark">Dark</option>
  151. </select>
  152. </label> |</li>
  153. </ul>
  154. </div>
  155. <div class="document">
  156. <div class="documentwrapper">
  157. <div class="bodywrapper">
  158. <div class="body" role="main">
  159. <section id="module-chunk">
  160. <span id="chunk-read-iff-chunked-data"></span><h1><a class="reference internal" href="#module-chunk" title="chunk: Module to read IFF chunks. (deprecated)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">chunk</span></code></a> — Read IFF chunked data<a class="headerlink" href="#module-chunk" title="Link to this heading">¶</a></h1>
  161. <p><strong>Source code:</strong> <a class="reference external" href="https://github.com/python/cpython/tree/3.12/Lib/chunk.py">Lib/chunk.py</a></p>
  162. <div class="deprecated-removed" id="index-0">
  163. <p><span class="versionmodified">Deprecated since version 3.11, will be removed in version 3.13: </span>The <a class="reference internal" href="#module-chunk" title="chunk: Module to read IFF chunks. (deprecated)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">chunk</span></code></a> module is deprecated
  164. (see <span class="target" id="index-1"></span><a class="pep reference external" href="https://peps.python.org/pep-0594/#chunk"><strong>PEP 594</strong></a> for details).</p>
  165. </div>
  166. <hr class="docutils" />
  167. <p>This module provides an interface for reading files that use EA IFF 85 chunks.
  168. <a class="footnote-reference brackets" href="#id2" id="id1" role="doc-noteref"><span class="fn-bracket">[</span>1<span class="fn-bracket">]</span></a> This format is used in at least the Audio Interchange File Format
  169. (AIFF/AIFF-C) and the Real Media File Format (RMFF). The WAVE audio file format
  170. is closely related and can also be read using this module.</p>
  171. <p>A chunk has the following structure:</p>
  172. <table class="docutils align-default">
  173. <thead>
  174. <tr class="row-odd"><th class="head"><p>Offset</p></th>
  175. <th class="head"><p>Length</p></th>
  176. <th class="head"><p>Contents</p></th>
  177. </tr>
  178. </thead>
  179. <tbody>
  180. <tr class="row-even"><td><p>0</p></td>
  181. <td><p>4</p></td>
  182. <td><p>Chunk ID</p></td>
  183. </tr>
  184. <tr class="row-odd"><td><p>4</p></td>
  185. <td><p>4</p></td>
  186. <td><p>Size of chunk in big-endian
  187. byte order, not including the
  188. header</p></td>
  189. </tr>
  190. <tr class="row-even"><td><p>8</p></td>
  191. <td><p><em>n</em></p></td>
  192. <td><p>Data bytes, where <em>n</em> is the
  193. size given in the preceding
  194. field</p></td>
  195. </tr>
  196. <tr class="row-odd"><td><p>8 + <em>n</em></p></td>
  197. <td><p>0 or 1</p></td>
  198. <td><p>Pad byte needed if <em>n</em> is odd
  199. and chunk alignment is used</p></td>
  200. </tr>
  201. </tbody>
  202. </table>
  203. <p>The ID is a 4-byte string which identifies the type of chunk.</p>
  204. <p>The size field (a 32-bit value, encoded using big-endian byte order) gives the
  205. size of the chunk data, not including the 8-byte header.</p>
  206. <p>Usually an IFF-type file consists of one or more chunks. The proposed usage of
  207. the <a class="reference internal" href="#chunk.Chunk" title="chunk.Chunk"><code class="xref py py-class docutils literal notranslate"><span class="pre">Chunk</span></code></a> class defined here is to instantiate an instance at the start
  208. of each chunk and read from the instance until it reaches the end, after which a
  209. new instance can be instantiated. At the end of the file, creating a new
  210. instance will fail with an <a class="reference internal" href="exceptions.html#EOFError" title="EOFError"><code class="xref py py-exc docutils literal notranslate"><span class="pre">EOFError</span></code></a> exception.</p>
  211. <dl class="py class">
  212. <dt class="sig sig-object py" id="chunk.Chunk">
  213. <em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">chunk.</span></span><span class="sig-name descname"><span class="pre">Chunk</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">align</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">True</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">bigendian</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">True</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">inclheader</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">False</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#chunk.Chunk" title="Link to this definition">¶</a></dt>
  214. <dd><p>Class which represents a chunk. The <em>file</em> argument is expected to be a
  215. file-like object. An instance of this class is specifically allowed. The
  216. only method that is needed is <code class="xref py py-meth docutils literal notranslate"><span class="pre">read()</span></code>. If the methods
  217. <a class="reference internal" href="io.html#io.IOBase.seek" title="io.IOBase.seek"><code class="xref py py-meth docutils literal notranslate"><span class="pre">seek()</span></code></a> and <a class="reference internal" href="io.html#io.IOBase.tell" title="io.IOBase.tell"><code class="xref py py-meth docutils literal notranslate"><span class="pre">tell()</span></code></a> are present and don’t
  218. raise an exception, they are also used.
  219. If these methods are present and raise an exception, they are expected to not
  220. have altered the object. If the optional argument <em>align</em> is true, chunks
  221. are assumed to be aligned on 2-byte boundaries. If <em>align</em> is false, no
  222. alignment is assumed. The default value is true. If the optional argument
  223. <em>bigendian</em> is false, the chunk size is assumed to be in little-endian order.
  224. This is needed for WAVE audio files. The default value is true. If the
  225. optional argument <em>inclheader</em> is true, the size given in the chunk header
  226. includes the size of the header. The default value is false.</p>
  227. <p>A <a class="reference internal" href="#chunk.Chunk" title="chunk.Chunk"><code class="xref py py-class docutils literal notranslate"><span class="pre">Chunk</span></code></a> object supports the following methods:</p>
  228. <dl class="py method">
  229. <dt class="sig sig-object py" id="chunk.Chunk.getname">
  230. <span class="sig-name descname"><span class="pre">getname</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#chunk.Chunk.getname" title="Link to this definition">¶</a></dt>
  231. <dd><p>Returns the name (ID) of the chunk. This is the first 4 bytes of the
  232. chunk.</p>
  233. </dd></dl>
  234. <dl class="py method">
  235. <dt class="sig sig-object py" id="chunk.Chunk.getsize">
  236. <span class="sig-name descname"><span class="pre">getsize</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#chunk.Chunk.getsize" title="Link to this definition">¶</a></dt>
  237. <dd><p>Returns the size of the chunk.</p>
  238. </dd></dl>
  239. <dl class="py method">
  240. <dt class="sig sig-object py" id="chunk.Chunk.close">
  241. <span class="sig-name descname"><span class="pre">close</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#chunk.Chunk.close" title="Link to this definition">¶</a></dt>
  242. <dd><p>Close and skip to the end of the chunk. This does not close the
  243. underlying file.</p>
  244. </dd></dl>
  245. <p>The remaining methods will raise <a class="reference internal" href="exceptions.html#OSError" title="OSError"><code class="xref py py-exc docutils literal notranslate"><span class="pre">OSError</span></code></a> if called after the
  246. <a class="reference internal" href="#chunk.Chunk.close" title="chunk.Chunk.close"><code class="xref py py-meth docutils literal notranslate"><span class="pre">close()</span></code></a> method has been called. Before Python 3.3, they used to
  247. raise <a class="reference internal" href="exceptions.html#IOError" title="IOError"><code class="xref py py-exc docutils literal notranslate"><span class="pre">IOError</span></code></a>, now an alias of <a class="reference internal" href="exceptions.html#OSError" title="OSError"><code class="xref py py-exc docutils literal notranslate"><span class="pre">OSError</span></code></a>.</p>
  248. <dl class="py method">
  249. <dt class="sig sig-object py" id="chunk.Chunk.isatty">
  250. <span class="sig-name descname"><span class="pre">isatty</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#chunk.Chunk.isatty" title="Link to this definition">¶</a></dt>
  251. <dd><p>Returns <code class="docutils literal notranslate"><span class="pre">False</span></code>.</p>
  252. </dd></dl>
  253. <dl class="py method">
  254. <dt class="sig sig-object py" id="chunk.Chunk.seek">
  255. <span class="sig-name descname"><span class="pre">seek</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">pos</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">whence</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">0</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#chunk.Chunk.seek" title="Link to this definition">¶</a></dt>
  256. <dd><p>Set the chunk’s current position. The <em>whence</em> argument is optional and
  257. defaults to <code class="docutils literal notranslate"><span class="pre">0</span></code> (absolute file positioning); other values are <code class="docutils literal notranslate"><span class="pre">1</span></code>
  258. (seek relative to the current position) and <code class="docutils literal notranslate"><span class="pre">2</span></code> (seek relative to the
  259. file’s end). There is no return value. If the underlying file does not
  260. allow seek, only forward seeks are allowed.</p>
  261. </dd></dl>
  262. <dl class="py method">
  263. <dt class="sig sig-object py" id="chunk.Chunk.tell">
  264. <span class="sig-name descname"><span class="pre">tell</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#chunk.Chunk.tell" title="Link to this definition">¶</a></dt>
  265. <dd><p>Return the current position into the chunk.</p>
  266. </dd></dl>
  267. <dl class="py method">
  268. <dt class="sig sig-object py" id="chunk.Chunk.read">
  269. <span class="sig-name descname"><span class="pre">read</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">size</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">-1</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#chunk.Chunk.read" title="Link to this definition">¶</a></dt>
  270. <dd><p>Read at most <em>size</em> bytes from the chunk (less if the read hits the end of
  271. the chunk before obtaining <em>size</em> bytes). If the <em>size</em> argument is
  272. negative or omitted, read all data until the end of the chunk. An empty
  273. bytes object is returned when the end of the chunk is encountered
  274. immediately.</p>
  275. </dd></dl>
  276. <dl class="py method">
  277. <dt class="sig sig-object py" id="chunk.Chunk.skip">
  278. <span class="sig-name descname"><span class="pre">skip</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#chunk.Chunk.skip" title="Link to this definition">¶</a></dt>
  279. <dd><p>Skip to the end of the chunk. All further calls to <a class="reference internal" href="#chunk.Chunk.read" title="chunk.Chunk.read"><code class="xref py py-meth docutils literal notranslate"><span class="pre">read()</span></code></a> for the
  280. chunk will return <code class="docutils literal notranslate"><span class="pre">b''</span></code>. If you are not interested in the contents of
  281. the chunk, this method should be called so that the file points to the
  282. start of the next chunk.</p>
  283. </dd></dl>
  284. </dd></dl>
  285. <p class="rubric">Footnotes</p>
  286. <aside class="footnote-list brackets">
  287. <aside class="footnote brackets" id="id2" role="doc-footnote">
  288. <span class="label"><span class="fn-bracket">[</span><a role="doc-backlink" href="#id1">1</a><span class="fn-bracket">]</span></span>
  289. <p>“EA IFF 85” Standard for Interchange Format Files, Jerry Morrison, Electronic
  290. Arts, January 1985.</p>
  291. </aside>
  292. </aside>
  293. </section>
  294. <div class="clearer"></div>
  295. </div>
  296. </div>
  297. </div>
  298. <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
  299. <div class="sphinxsidebarwrapper">
  300. <div>
  301. <h4>Previous topic</h4>
  302. <p class="topless"><a href="cgitb.html"
  303. title="previous chapter"><code class="xref py py-mod docutils literal notranslate"><span class="pre">cgitb</span></code> — Traceback manager for CGI scripts</a></p>
  304. </div>
  305. <div>
  306. <h4>Next topic</h4>
  307. <p class="topless"><a href="crypt.html"
  308. title="next chapter"><code class="xref py py-mod docutils literal notranslate"><span class="pre">crypt</span></code> — Function to check Unix passwords</a></p>
  309. </div>
  310. <div role="note" aria-label="source link">
  311. <h3>This Page</h3>
  312. <ul class="this-page-menu">
  313. <li><a href="../bugs.html">Report a Bug</a></li>
  314. <li>
  315. <a href="https://github.com/python/cpython/blob/main/Doc/library/chunk.rst"
  316. rel="nofollow">Show Source
  317. </a>
  318. </li>
  319. </ul>
  320. </div>
  321. </div>
  322. <div id="sidebarbutton" title="Collapse sidebar">
  323. <span>«</span>
  324. </div>
  325. </div>
  326. <div class="clearer"></div>
  327. </div>
  328. <div class="related" role="navigation" aria-label="related navigation">
  329. <h3>Navigation</h3>
  330. <ul>
  331. <li class="right" style="margin-right: 10px">
  332. <a href="../genindex.html" title="General Index"
  333. >index</a></li>
  334. <li class="right" >
  335. <a href="../py-modindex.html" title="Python Module Index"
  336. >modules</a> |</li>
  337. <li class="right" >
  338. <a href="crypt.html" title="crypt — Function to check Unix passwords"
  339. >next</a> |</li>
  340. <li class="right" >
  341. <a href="cgitb.html" title="cgitb — Traceback manager for CGI scripts"
  342. >previous</a> |</li>
  343. <li><img src="../_static/py.svg" alt="Python logo" style="vertical-align: middle; margin-top: -1px"/></li>
  344. <li><a href="https://www.python.org/">Python</a> &#187;</li>
  345. <li class="switchers">
  346. <div class="language_switcher_placeholder"></div>
  347. <div class="version_switcher_placeholder"></div>
  348. </li>
  349. <li>
  350. </li>
  351. <li id="cpython-language-and-version">
  352. <a href="../index.html">3.12.3 Documentation</a> &#187;
  353. </li>
  354. <li class="nav-item nav-item-1"><a href="index.html" >The Python Standard Library</a> &#187;</li>
  355. <li class="nav-item nav-item-2"><a href="superseded.html" >Superseded Modules</a> &#187;</li>
  356. <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">chunk</span></code> — Read IFF chunked data</a></li>
  357. <li class="right">
  358. <div class="inline-search" role="search">
  359. <form class="inline-search" action="../search.html" method="get">
  360. <input placeholder="Quick search" aria-label="Quick search" type="search" name="q" id="search-box" />
  361. <input type="submit" value="Go" />
  362. </form>
  363. </div>
  364. |
  365. </li>
  366. <li class="right">
  367. <label class="theme-selector-label">
  368. Theme
  369. <select class="theme-selector" oninput="activateTheme(this.value)">
  370. <option value="auto" selected>Auto</option>
  371. <option value="light">Light</option>
  372. <option value="dark">Dark</option>
  373. </select>
  374. </label> |</li>
  375. </ul>
  376. </div>
  377. <div class="footer">
  378. &copy;
  379. <a href="../copyright.html">
  380. Copyright
  381. </a>
  382. 2001-2024, Python Software Foundation.
  383. <br />
  384. This page is licensed under the Python Software Foundation License Version 2.
  385. <br />
  386. Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
  387. <br />
  388. See <a href="/license.html">History and License</a> for more information.<br />
  389. <br />
  390. The Python Software Foundation is a non-profit corporation.
  391. <a href="https://www.python.org/psf/donations/">Please donate.</a>
  392. <br />
  393. <br />
  394. Last updated on Apr 09, 2024 (13:47 UTC).
  395. <a href="/bugs.html">Found a bug</a>?
  396. <br />
  397. Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.2.6.
  398. </div>
  399. </body>
  400. </html>
上海开阖软件有限公司 沪ICP备12045867号-1