On 22/04/2014 12:41, Steven D'Aprano wrote:
On Mon, Apr 21, 2014 at 06:16:20PM -0700, Suhana Vidyarthi wrote:
[...]
# on Windows either of these will be okay
filename = "C:/path/to/file.txt"
filename = "C:\\path\\to\\file.txt"
Or a raw string r'C:\path\to\file.txt'
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
---
This email is free from viruses and malware because avast! Antivirus protection
is active.
http://www.avast.com
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor