Message80220
can you please tell me how to detect the version so that my application
will not crash on Python 2.5.2 (r252:60911, Sep 30 2008, 15:41:38)
which of these values should I use
apilevel = '2.0'
sqlite_version = '3.5.9'
sqlite_version_info = (3, 5, 9)
version = '2.3.2'
version_info = (2, 3, 2)
x = '9'
that are different in your python 2.6
for example
import sqlite3
if sqlite3.version_info<(3,0,0): c.execute('BEGIN TRANSACTION') |
|
Date |
User |
Action |
Args |
2009-01-19 23:22:46 | alsadi | set | recipients:
+ alsadi, pitrou |
2009-01-19 23:22:46 | alsadi | set | messageid: <1232407366.41.0.110549164296.issue4995@psf.upfronthosting.co.za> |
2009-01-19 23:22:45 | alsadi | link | issue4995 messages |
2009-01-19 23:22:45 | alsadi | create | |
|