Re: SQLite3; weird error

2007-10-29 Thread Bruno Desthuilliers
TYR a écrit : > On Oct 29, 11:51 am, Duncan Booth <[EMAIL PROTECTED]> > wrote: > >>TYR <[EMAIL PROTECTED]> wrote: >> >>>To do anything with it, you then need to create a cursor object by >>>calling foo's method cursor (bar = foo.cursor). >> >>Perhaps this would work better if you actually try call

Re: SQLite3; weird error

2007-10-29 Thread Bruno Desthuilliers
TYR a écrit : > Has anyone else experienced a weird SQLite3 problem? > > Going by the documentation at docs.python.org, the syntax is as > follows: > foo = sqlite3.connect(dbname) creates a connection object representing > the state of dbname and assigns it to variable foo. If dbname doesn't > exi

Re: SQLite3; weird error

2007-10-29 Thread TYR
On Oct 29, 11:51 am, Duncan Booth <[EMAIL PROTECTED]> wrote: > TYR <[EMAIL PROTECTED]> wrote: > > To do anything with it, you then need to create a cursor object by > > calling foo's method cursor (bar = foo.cursor). > > Perhaps this would work better if you actually try calling foo's method? > >

Re: SQLite3; weird error

2007-10-29 Thread Duncan Booth
TYR <[EMAIL PROTECTED]> wrote: > To do anything with it, you then need to create a cursor object by > calling foo's method cursor (bar = foo.cursor). Perhaps this would work better if you actually try calling foo's method? bar = foo.cursor() Without the parentheses all you are doing is

Re: SQLite3; weird error

2007-10-29 Thread Diez B. Roggisch
TYR wrote: > Has anyone else experienced a weird SQLite3 problem? > > Going by the documentation at docs.python.org, the syntax is as > follows: > foo = sqlite3.connect(dbname) creates a connection object representing > the state of dbname and assigns it to variable foo. If dbname doesn't > exist

SQLite3; weird error

2007-10-29 Thread TYR
Has anyone else experienced a weird SQLite3 problem? Going by the documentation at docs.python.org, the syntax is as follows: foo = sqlite3.connect(dbname) creates a connection object representing the state of dbname and assigns it to variable foo. If dbname doesn't exist, a file of that name is c