[Tutor] os.path.exists(path) returns false when the path actually exists!

Iyer maseriyer at yahoo.com
Thu Aug 2 07:55:08 CEST 2007

Is there any chance the file has an extension that Windows is hiding?

Can you get True for other files in the folder?

 So, it was the extensions all the way ! Apparently the file extension was hidden by Windows!  It now works.
 Thank you all for your suggestions and help.

Shape Yahoo! in your own image.  Join our Network Research Panel today!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070801/daa4e524/attachment.htm 

More information about the Tutor mailing list