raw strings and \

plahey at alumni.caltech.edu plahey at alumni.caltech.edu
Sun Mar 5 09:49:25 CET 2006

I thought I understood raw strings, then I got bitten by this:


which is illegal!  I thought that \ had no special meanning in a raw
string so why can't it be the last character?

making me do:

x=r'c:\blah' '\\'

is just silly...

More information about the Python-list mailing list