[Tutor] FW: wierd replace problem
Sander Sweers
sander.sweers at gmail.com
Tue Sep 14 19:28:28 CEST 2010
----- Original message -----
> Look at the backslash! It doesn't strip the backslash in the string, but
> it escapes the double quote following it.
>
> I don't know how people can explain it any better.
Maybe the link below makes it clear what backslash really does.
http://pythonconquerstheuniverse.wordpress.com/2008/06/04/gotcha-%e2%80%94-backslashes-are-escape-characters/
Greets
sander
More information about the Tutor
mailing list