Quotes

Tetsuo member at dbforums.com
Fri Dec 20 13:05:15 EST 2002


All your suggestions can be broken if the outermost quotes are the same
as something in the text...

But I cracked it. Take a look.

>>> chr(34)
'"'
>>> chr(39)
"'"
>>> chr(34)+chr(39)
'"\''
>>> chr(39)+ chr(34)
'\'"'
>>> print "\""
"
>>>

--
Posted via http://dbforums.com



More information about the Python-list mailing list