JSON from Python mysqldb

Larry Bates larry.bates at vitalEsafe.com
Tue Aug 26 15:15:40 EDT 2008


jpuopolo wrote:
> 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

Google turns up several high quality links, just look for 'python json'.

-Larry



More information about the Python-list mailing list