[ANN] istring 1.0.1 released; announce list created

Oleg Broytmann phd at phd.pp.ru
Thu Mar 14 10:34:00 CET 2002


On Wed, Mar 13, 2002 at 10:36:00PM +0000, Bengt Richter wrote:
> Ok, then how about:
>  ...     def __init__(self,s): self.sesc = "\\'".join('\\"'.join(s.split('"')).split("'"))

   That's limited advantage. Different SQL servers have different rules of
quoting.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.




More information about the Python-list mailing list