[Tutor] Acessing files in Windows 2000

John Purser johnp at milwaukielumber.com
Tue Mar 8 23:53:51 CET 2005


I agree with a previous poster, check your path.  I think either the path
doesn't exist or you don't have permission to get to it.

John 

-----Original Message-----
From: Dave S [mailto:pythontut at pusspaws.net] 
Sent: Tuesday, March 08, 2005 14:50
To: johnp at milwaukielumber.com
Cc: 'Python Tutor'
Subject: Re: [Tutor] Acessing files in Windows 2000

John Purser wrote:

>Try c:\\my documents\\memo.txt
>
>
>John 
>  
>
Unfortunately thats a no go ...

palm.py

palm memo.txt to oocalc data.csv convertor, written by lentil ;)
jk at pusspaws.net - enter "palm software" in the title or it will be junked

09-03-2005  v1.02w Coded for Windows
07-03-2005  v1.02  Coded capitalization() + default to mon
03-03-2005  v1.01  Squished 1/9 decode bug
02-03-2005  v1.00  Coded for Linux

Traceback (most recent call last):
  File "C:\Documents and Settings\Administrator\Desktop\palm.py", line 
268, in ?
    palm_conv()
  File "C:\Documents and Settings\Administrator\Desktop\palm.py", line 
54, in palm_conv
    memo = open(memo_file, 'r')
IOError: [Errno 2] No such file or directory: 'c:\\my documents\\memo.txt'
 >>>

If I try c:\\

or

c:\

it always comes out as c:\\... and fails

Dave




More information about the Tutor mailing list