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 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.
>
Not so silly (considering you're somewhat new to Python, which seems
obvious here) - some languages work otherwise.
--
http://mail.python.org/mailman/listinfo/python-list