Raw string question

Larry Bates lbates at syscon-computers.com
Tue Feb 27 10:12:18 EST 2001


Why can't a raw string end with a backslash (\)?

example

a=r"c:\path\"

doesn't work

a=r"c:\path"

works fine

Thanks, Larry


BTW - I'm using ActiveState PythonWin (if makes any difference).







More information about the Python-list mailing list