Just to check, try to do away with the backslashes. Windows will accept 
a path with forward slashes just as well:

os.path.exists("c:/winnt/file_name")

Nope, even, with the use of forward slashes in the path, it still returns false 
 
 What am I doing wrong here ?
 
 This is driving me nuts! 
 
 -iyer

       
---------------------------------
Looking for a deal? Find great prices on flights and hotels with Yahoo! 
FareChase.
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to