passing artibrary strings into a database

schwehr at gmail.com schwehr at gmail.com
Sun Nov 27 17:35:04 CET 2005


Hi All,

I was wondering if there is a helper library out there that will nicely
encode artibrary text so that I can put in into a TEXT field in a
database and then retrieve it without getting into trouble with ',",new
lines or  other such things that would foul the sql insert call and or
be a security hazard?  This feels like a newbee type question, but I
haven't found anything with a quick search.

Thanks,
-kurt




More information about the Python-list mailing list