<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                ### 導航 - [索引](../genindex.xhtml "總目錄") - [模塊](../py-modindex.xhtml "Python 模塊索引") | - [下一頁](binascii.xhtml "binascii --- 二進制和 ASCII 碼互轉") | - [上一頁](base64.xhtml "base64 --- Base16, Base32, Base64, Base85 數據編碼") | - ![](https://box.kancloud.cn/a721fc7ec672275e257bbbfde49a4d4e_16x16.png) - [Python](https://www.python.org/) ? - zh\_CN 3.7.3 [文檔](../index.xhtml) ? - [Python 標準庫](index.xhtml) ? - [互聯網數據處理](netdata.xhtml) ? - $('.inline-search').show(0); | # [`binhex`](#module-binhex "binhex: Encode and decode files in binhex4 format.") --- 對binhex4文件進行編碼和解碼 **源代碼:** [Lib/binhex.py](https://github.com/python/cpython/tree/3.7/Lib/binhex.py) \[https://github.com/python/cpython/tree/3.7/Lib/binhex.py\] - - - - - - 此模塊以binhe4格式對文件進行編碼和解碼,該格式允許Macintosh文件以ASCII格式表示。僅處理數據分支。 [`binhex`](#module-binhex "binhex: Encode and decode files in binhex4 format.") 模塊定義了以下功能: `binhex.``binhex`(*input*, *output*)將帶有文件名 *輸入* 的二進制文件轉換為binhex文件 *輸出* 。輸出參數可以是文件名或類文件對象( `write()` 和 `close()` 方法的任何對象)。 `binhex.``hexbin`(*input*, *output*)解碼binhex文件輸入。 *輸入* 可以是支持 `read()` 和 `close()` 方法的文件名或類文件對象。生成的文件將寫入名為 *output* 的文件,除非參數為 `None` ,在這種情況下,從binhex文件中讀取輸出文件名。 還定義了以下異常: *exception* `binhex.``Error`當無法使用binhex格式編碼某些內容時(例如,文件名太長而無法放入文件名字段中),或者輸入未正確編碼的binhex數據時,會引發異常。 參見 模塊 [`binascii`](binascii.xhtml#module-binascii "binascii: Tools for converting between binary and various ASCII-encoded binary representations.")支持模塊,包含ASCII到二進制和二進制到ASCII轉換。 ## 注釋 還有一個替代的、功能更強大的編碼器和解碼器接口,詳細信息請參見源代碼。 如果您在非Macintosh平臺上編碼或解碼文本文件,它們仍將使用舊的Macintosh換行符約定(回車符作為行尾)。 ### 導航 - [索引](../genindex.xhtml "總目錄") - [模塊](../py-modindex.xhtml "Python 模塊索引") | - [下一頁](binascii.xhtml "binascii --- 二進制和 ASCII 碼互轉") | - [上一頁](base64.xhtml "base64 --- Base16, Base32, Base64, Base85 數據編碼") | - ![](https://box.kancloud.cn/a721fc7ec672275e257bbbfde49a4d4e_16x16.png) - [Python](https://www.python.org/) ? - zh\_CN 3.7.3 [文檔](../index.xhtml) ? - [Python 標準庫](index.xhtml) ? - [互聯網數據處理](netdata.xhtml) ? - $('.inline-search').show(0); | ? [版權所有](../copyright.xhtml) 2001-2019, Python Software Foundation. Python 軟件基金會是一個非盈利組織。 [請捐助。](https://www.python.org/psf/donations/) 最后更新于 5月 21, 2019. [發現了問題](../bugs.xhtml)? 使用[Sphinx](http://sphinx.pocoo.org/)1.8.4 創建。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看