>>>>> Jim Garrison <[email protected]> (JG) wrote: >JG> And as an interesting exercise, try >JG> print r'test \' >JG> print r'test \\'
>JG> Because of the way raw string parsing is defined, neither of these will >JG> pass the parser. In fact, a raw string cannot have a backslash as >JG> its last character. Cannot have an odd number of backslashes as its last characters. >>> print r'test \\' test \\ -- Piet van Oostrum <[email protected]> URL: http://pietvanoostrum.com [PGP 8DAE142BE17999C4] Private email: [email protected] -- http://mail.python.org/mailman/listinfo/python-list
