newb question on strings

Kirk Strauser kirk at daycos.com
Fri Jun 27 12:09:09 EDT 2008


At 2008-06-24T20:27:33Z, regex_jedi <kim.gentes at gmail.com> writes:

> Notice that the 4th value has a single quote in it. Well, I need to
> make sure that the single quote is escaped before handing it off for
> further processing to a class I later call for some other processing.

Out of curiosity, what kind of processing?  The only time I've really had to
mess with escaping quotes involved SQL.  There is *no* reason why you'd ever
directly generate SQL strings yourself today unless you're writing a
database connector.
-- 
Kirk Strauser
The Day Companies



More information about the Python-list mailing list