> try
>import sqlite3 as sqlite # Python 2.5
> except ImportError:
>from pysqlite2 import dbapi2 as sqlite
i second kent's suggestion here. in fact, i ran into a very similar
issue while working on the database chapter for the new edition of the
book. i had 2.4.2 with pysqlite 2.1.3 on
Todd Dahl wrote:
> At work I have installed Python 2.4 but at home I have Python 2.5.
> Until this point I didn't think nothing of it but now I have run into
> a issue.
>
> I have some code that I have worked on at work that uses the pySQLite
> module which doesn't support 2.5, yet. I can run my c
At work I have installed Python 2.4 but at home I have Python 2.5.
Until this point I didn't think nothing of it but now I have run into
a issue.
I have some code that I have worked on at work that uses the pySQLite
module which doesn't support 2.5, yet. I can run my code at work but I
can't even