Python sqlite3 版本 [英] Python sqlite3 version

查看:52
本文介绍了Python sqlite3 版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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 年 3 月 13 日 (2.4.1).
  • Why is the version of the sqlite3 module '2.4.1'
  • Whats the reason behind bundling such an old sqlite with Python? The sqlite releaselog says 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 版本

version - pysqlite version
sqlite_version - sqlite version

这篇关于Python sqlite3 版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆