Re: Strange os.path.exists() behaviour

2005-07-20 Thread Casey Hawthorne
Does this work differently under other platforms? Pierre Quentel <[EMAIL PROTECTED]> wrote: >os.path.exists(path) returns True if "path" exists > >But on Windows it also returns True for "path" followed by any number of >dots : > >Python 2.4 (#60, Nov 30 2004, 11:49:19) [MSC v.1310 32 bit (Intel

Re: Strange os.path.exists() behaviour

2005-07-07 Thread Sion Arrowsmith
Jeff Epler <[EMAIL PROTECTED]> wrote: >Pierre wrote: >> Python 2.4 (#60, Nov 30 2004, 11:49:19) [MSC v.1310 32 bit (Intel)] on wi= >n32 > = >^^^ >Here's the bug. You're using Windows. It's a filesystem, but not as we kn= >

Re: Strange os.path.exists() behaviour

2005-07-06 Thread Michael Hoffman
Jeff Epler wrote: > Here's the bug. You're using Windows. QOTW (speaking as someone who is using Windows right now). -- Michael Hoffman -- http://mail.python.org/mailman/listinfo/python-list

Re: Strange os.path.exists() behaviour

2005-07-06 Thread Jeff Epler
Pierre wrote: > Python 2.4 (#60, Nov 30 2004, 11:49:19) [MSC v.1310 32 bit (Intel)] on win32 ^^^ Here's the bug. You're using Windows. It's a filesystem, but not as we know it... Anyway, You are getting exactly what the

Strange os.path.exists() behaviour

2005-07-06 Thread Pierre Quentel
os.path.exists(path) returns True if "path" exists But on Windows it also returns True for "path" followed by any number of dots : Python 2.4 (#60, Nov 30 2004, 11:49:19) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import os >