[Tutor] Acessing files in Windows 2000

Dave S pythontut at pusspaws.net
Tue Mar 8 23:50:16 CET 2005


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