<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 模塊索引") | - [下一頁](pickle.xhtml "pickle —— Python 對象序列化") | - [上一頁](macpath.xhtml "macpath --- Mac OS 9 路徑操作函數") | - ![](https://box.kancloud.cn/a721fc7ec672275e257bbbfde49a4d4e_16x16.png) - [Python](https://www.python.org/) ? - zh\_CN 3.7.3 [文檔](../index.xhtml) ? - [Python 標準庫](index.xhtml) ? - $('.inline-search').show(0); | # 數據持久化 本章中描述的模塊支持在磁盤上以持久形式存儲 Python 數據。 [`pickle`](pickle.xhtml#module-pickle "pickle: Convert Python objects to streams of bytes and back.") 和 [`marshal`](marshal.xhtml#module-marshal "marshal: Convert Python objects to streams of bytes and back (with different constraints).") 模塊可以將許多 Python 數據類型轉換為字節流,然后從字節中重新創建對象。 各種與 DBM 相關的模塊支持一系列基于散列的文件格式,這些格式存儲字符串到其他字符串的映射。 本章中描述的模塊列表是: - [`pickle` —— Python 對象序列化](pickle.xhtml) - [與其他 Python 模塊間的關系](pickle.xhtml#relationship-to-other-python-modules) - [與 `marshal` 間的關系](pickle.xhtml#comparison-with-marshal) - [與 `json` 模塊的比較](pickle.xhtml#comparison-with-json) - [Data stream format](pickle.xhtml#data-stream-format) - [Module Interface](pickle.xhtml#module-interface) - [What can be pickled and unpickled?](pickle.xhtml#what-can-be-pickled-and-unpickled) - [Pickling Class Instances](pickle.xhtml#pickling-class-instances) - [Persistence of External Objects](pickle.xhtml#persistence-of-external-objects) - [Dispatch Tables](pickle.xhtml#dispatch-tables) - [Handling Stateful Objects](pickle.xhtml#handling-stateful-objects) - [Restricting Globals](pickle.xhtml#restricting-globals) - [性能](pickle.xhtml#performance) - [示例](pickle.xhtml#examples) - [`copyreg` --- Register `pickle` support functions](copyreg.xhtml) - [示例](copyreg.xhtml#example) - [`shelve` --- Python object persistence](shelve.xhtml) - [Restrictions](shelve.xhtml#restrictions) - [示例](shelve.xhtml#example) - [`marshal` --- Internal Python object serialization](marshal.xhtml) - [`dbm` --- Interfaces to Unix "databases"](dbm.xhtml) - [`dbm.gnu` --- GNU's reinterpretation of dbm](dbm.xhtml#module-dbm.gnu) - [`dbm.ndbm` --- Interface based on ndbm](dbm.xhtml#module-dbm.ndbm) - [`dbm.dumb` --- Portable DBM implementation](dbm.xhtml#module-dbm.dumb) - [`sqlite3` --- SQLite 數據庫 DB-API 2.0 接口模塊](sqlite3.xhtml) - [模塊函數和常量](sqlite3.xhtml#module-functions-and-constants) - [連接對象(Connection)](sqlite3.xhtml#connection-objects) - [游標對象\*Cursor\*](sqlite3.xhtml#cursor-objects) - [行對象\*Row\*](sqlite3.xhtml#row-objects) - [異常](sqlite3.xhtml#exceptions) - [SQLite 與 Python 類型](sqlite3.xhtml#sqlite-and-python-types) - [概述](sqlite3.xhtml#introduction) - [Using adapters to store additional Python types in SQLite databases](sqlite3.xhtml#using-adapters-to-store-additional-python-types-in-sqlite-databases) - [Letting your object adapt itself](sqlite3.xhtml#letting-your-object-adapt-itself) - [Registering an adapter callable](sqlite3.xhtml#registering-an-adapter-callable) - [Converting SQLite values to custom Python types](sqlite3.xhtml#converting-sqlite-values-to-custom-python-types) - [Default adapters and converters](sqlite3.xhtml#default-adapters-and-converters) - [Controlling Transactions](sqlite3.xhtml#controlling-transactions) - [Using `sqlite3` efficiently](sqlite3.xhtml#using-sqlite3-efficiently) - [Using shortcut methods](sqlite3.xhtml#using-shortcut-methods) - [Accessing columns by name instead of by index](sqlite3.xhtml#accessing-columns-by-name-instead-of-by-index) - [使用連接作為上下文管理器](sqlite3.xhtml#using-the-connection-as-a-context-manager) - [常見問題](sqlite3.xhtml#common-issues) - [多線程](sqlite3.xhtml#multithreading) ### 導航 - [索引](../genindex.xhtml "總目錄") - [模塊](../py-modindex.xhtml "Python 模塊索引") | - [下一頁](pickle.xhtml "pickle —— Python 對象序列化") | - [上一頁](macpath.xhtml "macpath --- Mac OS 9 路徑操作函數") | - ![](https://box.kancloud.cn/a721fc7ec672275e257bbbfde49a4d4e_16x16.png) - [Python](https://www.python.org/) ? - zh\_CN 3.7.3 [文檔](../index.xhtml) ? - [Python 標準庫](index.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>

                              哎呀哎呀视频在线观看