Matthew Warren wrote:

> I would expect this to work,
>
> rawstring=r'some things\new things\some other things\'
>
> But it fails as the last backslash escapes the single quote.

raw string literals are parsed in exactly the same way as ordinary string 
literals; it's
just the mapping from the string literal to the contents of the string object 
that differs.

see the documentation for details.

</F> 



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

Reply via email to