Prettyprinting SQL statements

2008-05-10 Thread MooJoo
I'm building a Python app that will be making queries to a MySQL server using the MySQLdb module. The app will need to create SQL statements on the fly which, in addition to going to the server, will occasionally need to be displayed to the user. While these queries are not too complex, they st

Threading the Python interpreter

2008-02-18 Thread MooJoo
I've read that the Python interpreter is not thread-safe but are there any issues in creating threads that create new processes (not threads) that run new instantiations of python? What I'm doing is subclassing the threading.Thread and, in the run method, I'm making a call to os.system, passing

Re: Great Python books for the beginner

2008-01-13 Thread MooJoo
In article <[EMAIL PROTECTED]>, GeneralCody <[EMAIL PROTECTED]> wrote: > On 2008-01-12 08:03:42 +0100, Landon <[EMAIL PROTECTED]> said: > > > Hi, I'm a freshman in college and I'm going to be taking an intro to > > programming course next semester which mainly uses Python, so I > > thought it mi