Can I get a technical explanation on the following error

Jim Garrison jhg at
Mon May 25 05:29:50 CEST 2009

And as an interesting exercise, try

print r'test \'
print r'test \\'

Because of the way raw string parsing is defined, neither of these will
pass the parser.  In fact, a raw string cannot have a backslash as
its last character.

More information about the Python-list mailing list