[Tutor] Acessing files in Windows 2000

John Purser johnp at milwaukielumber.com
Tue Mar 8 23:26:31 CET 2005


Try c:\\my documents\\memo.txt

John 

-----Original Message-----
From: tutor-bounces+johnp=milwaukielumber.com at python.org
[mailto:tutor-bounces+johnp=milwaukielumber.com at python.org] On Behalf Of
Dave S
Sent: Tuesday, March 08, 2005 14:24
To: Python Tutor
Subject: [Tutor] Acessing files in Windows 2000

I have a script that converts data relating to my work.

It works great on my Linux system but some of my colleagues run windows. 
I am attempting to convert the file paths to windows but am having no luck.

I need to access 'memo.txt' in 'my documents' on windows & am struggling.
I have tried just about every combination of \ and / and \\ and // but 
to no avail.
I need something like ...

C:\My Documents\memo.txt

Can anyone advise me ?

Dave


_______________________________________________
Tutor maillist  -  Tutor at python.org
http://mail.python.org/mailman/listinfo/tutor



More information about the Tutor mailing list