Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python sqlite3 version

Tags:

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' 

Questions:

  • 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).
like image 630
nnn Avatar asked Oct 12 '09 07:10

nnn


People also ask

What version of SQLite comes with Python?

The version of sqlite that comes with Python is 2.6. 0 (used by import sqlite3).

Does sqlite3 come with Python?

SQLite is a self-contained, file-based SQL database. SQLite comes bundled with Python and can be used in any of your Python applications without having to install any additional software.


1 Answers

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

version - pysqlite version
sqlite_version - sqlite version

like image 123
sdu Avatar answered Sep 23 '22 08:09

sdu