Re: Declare self.cursor

2010-08-25 Thread John Nagle
On 8/24/2010 10:15 AM, Dani Valverde wrote: Hello! I am working on a GUI to connect to a MySQL database using MySQLdb (code in attached file). I define the cursor in lines 55-66 in the OnLogin function within the LoginDlg class. /db= MySQLdb.connect(host='localhost', user=Username , passwd=pwd,

Re: Declare self.cursor

2010-08-24 Thread Mel
Dani Valverde wrote: > Hello! > I am working on a GUI to connect to a MySQL database using MySQLdb (code > in attached file). I define the cursor in lines 55-66 in the OnLogin > function within the LoginDlg class. > > /db= MySQLdb.connect(host='localhost', user=Username , passwd=pwd, > db='Ornith

Declare self.cursor

2010-08-24 Thread Dani Valverde
Hello! I am working on a GUI to connect to a MySQL database using MySQLdb (code in attached file). I define the cursor in lines 55-66 in the OnLogin function within the LoginDlg class. /db= MySQLdb.connect(host='localhost', user=Username , passwd=pwd, db='Ornithobase') self.cursor = db.curso