Vaibhav.bhawsar wrote:
I have been trying to get the DictCursor working with mysqldb module but can't seem to. I have pasted the basic connection code and the traceback from pydev. The connection does open with the default cursor class. can't figure out how to use the dict cursor class instead of the default one. many thanks.

<code>
import MySQLdb

Try adding
import MySQLdb.cursors

Kent
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to