NoneType object returned by .fetchone() in MySQLdb

Arnaud-F. FAUSSE arnaud.fausse at wanadoo.fr
Wed Nov 26 15:24:47 EST 2003


Hello,

I wrote code to store and fetch information from MySQL, and I have this
problem:
- using .fetchall(), I get tuples (correct according to specification)
- using .fetchone(), I get NoneType object, that I have many problems to use
:-(
Did I miss somthing ?

Any clue ?

Thanks

Arnaud

My configuration:
Windows 2000 SP4
Python 2.3.2
MySQL 4.0.16
MySQLbd 0.9.2
ODBC 3.51.06







More information about the Python-list mailing list