yuhao wrote:

> I'm using Python 2.5 on Windows XP Pro.
> While testing for strings, I got the following result:
> 
>>>> r'c:\'
> SyntaxError: EOL while scanning single-quoted string

> what does this message mean? I'm not using any single quote in the
> statement. It this a bug or by design?

http://effbot.org/pyfaq/why-can-t-raw-strings-r-strings-end-with-a-backslash.htm

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to