SQLite3; weird error

TYR a.harrowell at gmail.com
Mon Oct 29 09:13:01 EDT 2007


On Oct 29, 11:51 am, Duncan Booth <duncan.bo... at invalid.invalid>
wrote:
> TYR <a.harrow... at gmail.com> 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 assigning the method to a
> variable, not calling it.

Ah. Apologies for a silly question.




More information about the Python-list mailing list