Q: quoting string without escapes

Xah Lee xah at xahlee.org
Mon Jan 31 14:02:17 EST 2005


in Python, is there a way to quote a string as to avoid escaping ' or "
inside the string?

i.e. like Perl's q or qq.
thanks.

 Xah
 xah at xahlee.org
 http://xahlee.org/PageTwo_dir/more.html




More information about the Python-list mailing list