Two problems with backslashes

Emile van Sebille emile at fenx.com
Wed Jul 4 17:39:23 CEST 2001


The r prefix turns the string into a raw string, essentially turning off
escape recognition, except in the last position.

see 2.4.1 String Literals in the reference manual.

--

Emile van Sebille
emile at fenx.com

---------
"Courageous" <jkraska1 at san.rr.com> wrote in message
news:bde6kt0c8f8fdfcf204qprakatj9v9ooa2 at 4ax.com...
>
> >    path = r'e:\test\test.txt'
>
> What am I looking at here, and how do Iearn more about it?
> IOW, what's the 'r' do, and is there more to this?
>
>
>
> C//
>




More information about the Python-list mailing list