Python 《SQLite教程》
Python SQLite教程 这是SQLite数据库的Python编程教程。它涵盖了使用Python语言编写SQLite的基础知识。ZetCode拥有完整的 电子书 为Python SQLite的: Python的SQLite的电子书 要使用本教程,我们必须在系统上安装Python语言,SQLite数据库, pysqlite 语言绑定和 sqlite3 命令行工具。 为了使用SQLite数据库,我们可以安装 sqlite3 或SQLite浏览器GUI。 $ python Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import sqlite3 >>> sqlite3.version '2.6.0' >>> sqlite3.sqlite_version '3.21.0' 在shell中,我们启动了Python交互式解释器。我们可以看到Python版本。在我们的例子中,它是Python 3.7.0。它 sqlite.version 是 pysqlite (2.6.0)的版本