Python syntax r prefix to a string

goldtech goldtech at worldpost.com
Sun Aug 19 11:43:53 EDT 2007


Does anyone know this syntax and could link me to an explanation?

Something like:

Workspace = r'C:\foobar\mystuff\xyz'

What's that "r" doing? Sometimes I see a "u" too.

Explanation appreciated.

Thanks,
Lee G.




More information about the Python-list mailing list