Thanks Gehard. Finally, I am seeing the pattern on how the scripts
ought to be run.
On Thu, 17 Mar 2005 01:59:28 +0100, Gerhard Haering <[EMAIL PROTECTED]> wrote:
> On Thu, Mar 17, 2005 at 06:52:03AM +0800, cross wind wrote:
> > On my other computer I tried installing
> >
2/test/dbapi.py", line 25, in ?
import pysqlite2.dbapi2 as sqlite
ImportError: No module named pysqlite2.dbapi2
Why oh why?
On Wed, 16 Mar 2005 22:46:38 +0800, Ng Pheng Siong <[EMAIL PROTECTED]> wrote:
> On Wed, Mar 16, 2005 at 06:45:23PM +0800, cross wind wrote:
> >
### I have the following python test script:
import sqlite
cx = sqlite.connect('xyz.db')
cu = cx.cursor()
cu.execute('create table t1 (a,b,c)')
cu.execute('insert into t1 values (1,2,3)')
cx.commit()
cu.execute("select * from t1")
row = cu.fetchone()
print row
### When ran, I get the ff
3 matches
Mail list logo