Re: how to mysqldb dict cursors

2008-04-25 Thread Vaibhav.bhawsar
Hmm that explains it! Thank you. v On Fri, Apr 25, 2008 at 7:38 AM, Steve Holden <[EMAIL PROTECTED]> wrote: > Vaibhav.bhawsar wrote: > [top-posting amended: see below] > >> On Fri, Apr 25, 2008 at 12:45 AM, Paul McNett <[EMAIL PROTECTED] > [EMAIL PROTECTED]>> wrote: >> >>Vaibhav.bhawsar wrote

Re: how to mysqldb dict cursors

2008-04-25 Thread Steve Holden
Vaibhav.bhawsar wrote: [top-posting amended: see below] On Fri, Apr 25, 2008 at 12:45 AM, Paul McNett <[EMAIL PROTECTED] > wrote: Vaibhav.bhawsar wrote: I have been trying to get the DictCursor working with mysqldb module but can't seem to. I have

Re: how to mysqldb dict cursors

2008-04-25 Thread Vaibhav.bhawsar
Great both methods worked! I dont quite understand this since i imported the whole module with "import MySQLdb" Thanks! On Fri, Apr 25, 2008 at 12:45 AM, Paul McNett <[EMAIL PROTECTED]> wrote: > Vaibhav.bhawsar wrote: > >> I have been trying to get the DictCursor working with mysqldb module but

Re: how to mysqldb dict cursors

2008-04-24 Thread Paul McNett
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 this one out. many thanks. Try one of: """

how to mysqldb dict cursors

2008-04-24 Thread Vaibhav.bhawsar
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 this one out. many thanks. import MySQLdb import sys # connect to the