JSON from Python mysqldb

jpuopolo puopolo at gmail.com
Tue Aug 26 15:07:16 EDT 2008


All:

I am using Python to read some records from the MySQL database. I am
using the mysqldb library, and things are working well.

Now, I would like to pass back the results of the query to a Web-based
front end, and I would like to use JSON. Is there a library/example of
creating a JSON array from a mysqldb row or row set?

Thanks,
jpuopolo



More information about the Python-list mailing list