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? > > 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. -- http://mail.python.org/mailman/listinfo/python-list