printing escape character

hrochonwo hrochonwo at googlemail.com
Tue Jan 22 13:38:29 EST 2008


Hi,

I want to print string without "decoding" escaped characters to
newline etc.
like print "a\nb" -> a\nb
is there a simple way to do it in python or should i somehow use
string.replace(..) function ?


thanks for any reply

hrocho



More information about the Python-list mailing list