[mod_python] addSlashes() in python, sql cgi question

tohmas ash tohmas.ash at takashi.zzn.com
Thu Jun 5 22:48:58 EST 2003

I use posgresql and had this problem, I solve it with the 'remplace'
fonction on the string module.
(cf http://python.org/doc/current/lib/module-string.html)

remplace(string "'", "\'")

but maybe there is a more simple fonction for do that...

Get your Free E-mail at http://takashi.zzn.com
Get your own Web-based E-mail Service at http://www.zzn.com

More information about the Mod_python mailing list