Pysqlite issue no attribute 'autocommit'

Gerhard Häring gh at ghaering.de
Tue Feb 5 10:30:28 EST 2008


Paul McNett wrote:
> Andy Smith wrote:
> 
>>   Im trying to run a Python based program which uses MySQL with 
>> python-sqlite and Im recieving this error,
>>  
>> 'Connection' object has no attribute 'autocommit' [...]

No, why should it have one? It's not documented to have one. To do what 
you intend to do with pysqlite, search its documentation for "autocommit".

-- Gerhard



More information about the Python-list mailing list