greg.ewing at compaq.com
Thu Jun 17 00:22:30 CEST 1999
"Magnus L. Hetland" wrote:
> The point with raw strings is that backslashes can be written
> out without being escaped.
Be warned that raw strings are not *quite* completely
raw! For example,
s = r"\abc\def\"
is a syntax error. On the other hand,
s = r"\abc\def\\"
is not. I'll leave you with the fun of trying to
guess what the resulting string contains...
More information about the Python-list