Can I get a technical explanation on the following error

Jim Garrison jhg at acm.org
Sun May 24 23:29:50 EDT 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