[Tutor] Help needed with Python programming

Mark Lawrence breamoreboy at yahoo.co.uk
Tue Apr 22 20:58:30 CEST 2014


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




More information about the Tutor mailing list