>>> f=open(r'c:\Test.txt','r')
Traceback (most recent call last):
File "<interactive input>", line 1, in ?
IOError: [Errno 2] No such file or directory: 'c:\\Test.txt'
Its pretty determined that Test.txt doesn't exist.
What happens if you do:
import os
os.listdir('C:\\')
In other words does Python see the file at all?
And have you checked that you have access to the file in Windows Explorer?
Alan G.
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor