Python sqlite3 版本

标签 python sqlite

Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import sqlite3
>>> sqlite3.version
'2.4.1'

问题:

  • 为什么sqlite3模块的版本是'2.4.1'
  • 将这么旧的 sqlite 与 Python 捆绑在一起的原因是什么? sqlite 发布日志显示 2002 Mar 13 (2.4.1)

最佳答案

Python 2.5.1
>>> import sqlite3
>>> sqlite3.version
'2.3.2'
>>> sqlite3.sqlite_version
'3.3.4'

版本 - pysqlite 版本
sqlite_version - sqlite 版本

关于Python sqlite3 版本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1553160/

相关文章:

python - python逆向工程后没有关系的类图

python - 在 Windows 中使用 pexpect.popen_spawn.PopenSpawn() 运行 telnet 实例

python - 是否有可能某些东西在 python ide 中起作用但在脚本中不起作用

sqlite - 在 sqldelight 中获取插入行的行 ID

c# - 来自 SQLiteConnection 对象的 SQLite .dump 命令

SQLite 外键无法正常工作

ruby-on-rails - 覆盖 Rails 4 和 SQLite 中的主键列

python - PyModule_New 的目的和用法

Python,虚拟环境 : telling IDE to run the debug session in virtualenv

objective-c - 核心数据-访问模拟器创建的sqlite文件?