[Tutor] Re: Sample9.py and Sample9.pyc & seting path to Python openfiles ...

Alan Gauld alan.gauld at blueyonder.co.uk
Wed Nov 26 04:57:19 EST 2003


> And also I haven't got poblems processing this code, but
> already opening file, so I assume the problem is not in the
code ...

The usual problem here is that the program is looking in a
different
place to the file location.

Try hard coding the entire file path into the open statement.

Oh yes, and check with explorer that the file does actually exist
and that you have permission to open it!

Alan g.




More information about the Tutor mailing list