MySQLdb, escaping values

Dave Harrison dave at nullcube.com
Wed May 7 07:20:05 EDT 2003


hey,

Ive written a web/db app, but I want to make sure that I am appropriately escaping the strings that I am writing to the database fields.

I can't seem to find a method to escape strings for MySQL in the MySQLdb library though.

Suggestions ?

Cheers
Dave





More information about the Python-list mailing list