Tiger12506 wrote:
> I apologize for my bringing up these beliefs on this list. They are better
> placed in a blog somewhere, or more efficiently, in a zip file of ASCII text
> as small and as neat as possible.
Yes, thanks. Could we stop the Microsoft bashing - or whatever you want
to call it -
>> 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 thr
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 th
> 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
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 hav
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
Iyer wrote:
>
>
> 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
On 31/07/07, Iyer <[EMAIL PROTECTED]> wrote:
> 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 ?
Type 'os.listdir("c:/winnt")' and see what it gives you. I haven't
looked at the code, but I
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 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
> requ
> 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, wh
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
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..
13 matches
Mail list logo