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

2007-08-02 Thread Iyer
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. -iyer

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

2007-08-02 Thread Bob Gailer
Iyer wrote: So, it was the extensions all the way ! Apparently the file extension was hidden by Windows! It now works. I have never understood Microsoft changing things from one release to another. In the beginning extensions were IIRC always visible. Every time I configure a computer I have

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

2007-08-02 Thread Tiger12506
I have never understood Microsoft changing things from one release to another. In the beginning extensions were IIRC always visible. Every time I configure a computer I have to spend a lot of time undoing the initial settings so my users can get their work done! Even though I completely

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

2007-08-02 Thread Kyle Brooks
Hi. Granted, all of these are just visual sugar and are completely worthless. But they have provided Microsoft with much money because more useless people can use computers. It is because these people do not wish to learn, do not have the capacity, or just plain would rather pay through their

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

2007-08-02 Thread Tiger12506
Granted, all of these are just visual sugar and are completely worthless. But they have provided Microsoft with much money because more useless people can use computers. It is because these people do not wish to learn, do not have the capacity, or just plain would rather pay through their

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

2007-07-28 Thread Hugo González Monteverde
Iyer wrote: Adam wrote: From the library documentation: Return True if path refers to an existing path. Returns False for broken symbolic links. On some platforms, this function may return False if permission is not granted to execute os.stat() on the requested

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

2007-07-27 Thread Iyer
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

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

2007-07-27 Thread Iyer
Adam wrote: From the library documentation: Return True if path refers to an existing path. Returns False for broken symbolic links. On some platforms, this function may return False if permission is not granted to execute os.stat() on the requested file, even if the path physically exists. So

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

2007-07-27 Thread Adam A. Zajac
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..