[Tutor] Question About chdir()

Don Parris gnumathetes at gmail.com
Mon Aug 8 09:07:40 CEST 2005


The book, "Programming Python", shows an example of os.chdir() on the
Windows platform, as follows:

os.chdir(r'c:\temp')

What's the 'r' for?  It didn't seem to make any difference in how
Python works - at least not on the surface.

Thanks,
Don
-- 
DC Parris GNU Evangelist
http://matheteuo.org/
gnumathetes at gmail.com
"Hey man, whatever pickles your list!"


More information about the Tutor mailing list