Python Data Persistence 简明教程
Discuss Python Data Persistence
在本教程中,我们将探索各种内置和第三方 Python 模块,以将数据存储和检索到/从各种格式,如文本文件、CSV、JSON 和 XML 文件以及关系和非关系数据库。本教程还介绍了 ZODB 数据库,它是一种用于 Python 对象的持久性 API。Microsoft Excel 格式是一种非常流行的数据文件格式。在这里,我们将学习如何通过 Python 处理 .xlsx 文件。
In this tutorial, we will explore various built-in and third party Python modules to store and retrieve data to/from various formats such as text file, CSV, JSON and XML files as well as relational and non-relational databases. This tutorial also introduces ZODB database, which is a persistence API for Python objects. Microsoft Excel format is a very popular data file format. Here, we will learn how to handle .xlsx file through Python.