Re: pymysql only works under IDLE

2012-01-16 Thread Saul Spatz
Thanks a lot; I didn't know about sys.executable. For the record, IDLE is running pythonw.exe. I won't have a chance to test if this helps till tomorrow, unfortunately. -- http://mail.python.org/mailman/listinfo/python-list

Re: pymysql only works under IDLE

2012-01-16 Thread Chris Rebert
On Mon, Jan 16, 2012 at 4:18 PM, Saul Spatz wrote: > I've been using pymysql to connect to a database, and it has suddenly stopped > working on the one machine (a virtual server) where I really need it to work. >  I have a function with hard-coded parameters to do the connection, and now > I'm