Tony Cappellini wrote:
> >From Kent
> >>You don't say what OS you are running but under Windows it is trivial to
> >>have multiple versions of Python installed, I have 2.3, 2.4 and 2.5.
> >>They are each in their own directories, all in the system path. I have
> >>aliases called py23, py24 and
> 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
>From Kent >>You don't say what OS you are running but under Windows it is trivial to>>have multiple versions of Python installed, I have 2.3, 2.4 and 2.5.>>They are each in their own directories, all in the system path. I have
>>aliases called py23, py24 and py25 that let me launch the version I>>
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