Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #78961

Python and sqlite versions

From Simmo <steve@bellissimmo.com>
Subject Python and sqlite versions
Date 2014-10-10 19:13 +0100
Newsgroups comp.lang.python
Message-ID <mailman.14759.1412966708.18130.python-list@python.org> (permalink)

Show all headers | View raw


First off, this is my first attempt to post via Thunderbird newsgroup, 
so apologies (and please let me know) if it doesn't arrive in good shape.

I'm just starting to get to grips with using a database (sqlite) and 
I've run into some confusion as to how Python 'ties in' to sqlite.

First step in the tutorial is to import sqlite3 and display 
sqlite3.version and sqlite3.sqlite_version.  Output below...

 >>> sqlite3.version
'2.6.0'
 >>> sqlite3.sqlite_version
'3.7.12'

Next step is to run up sqlite.  Output below...

SQLite version 3.8.6 2014-08-15 11:46:33
Enter ".help" for usage hints.

So, I have a disparity between installed sqlite and the Python sqlite 
library.  Do I need to find a 3.7.12 version of sqlite and , if so, 
where might I find it or can I change the Python library for the later 
version?

Steve

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Python and sqlite versions Simmo <steve@bellissimmo.com> - 2014-10-10 19:13 +0100

csiph-web