Python Data Persistence 简明教程

Python Data Persistence Tutorial

在本教程中,我们将探索各种内置和第三方 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.

Audience

本教程面向所有热衷于学习有关 Python 数据持久性的软件程序员。

This tutorial is for all the software programmers who have keen interest in learning about data persistence with regards to Python.

Prerequisites

如果您是 Python 新手,建议您在学习本教程之前先学习与 Python 相关的教程。

If you are novice to Python, it is suggested that you go through the tutorials related to Python before proceeding with this one.