查看python中SQLite版本和sqlite3版本

python使用sqlite3模块集成了SQLite数据库,其中SQLite版本和sqlite3版本是不同的信息,用前心中有数还是有必要的。
以python 3.7.1为例:

import sqlite3
print(sqlite3.version_info) #显示sqlite3版本信息
print(sqlite3.sqlite_version) #显示SQLite版本信息

  

运行后

(2, 6, 0)
3.21.0

  

原文地址:https://www.cnblogs.com/JIM-FAN/p/14679594.html