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

Iyer maseriyer at yahoo.com
Sat Jul 28 04:26:30 CEST 2007


os.path.exists(path) returns false when the path actually exists!
 
 When I do this:
 
 >>> os.path.exists("c:\\winnt\\file_name")
 
  I get this:
 >>> False
 
 Actually the file exists in c:\winnt, and I can confirm it exists there, but os.path.exists isn't returning True, when it should be..
 
 Is this a bug ?
 
 iyer
 
       
---------------------------------
Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070727/50217b3a/attachment.html 


More information about the Tutor mailing list