Windows madness

Alex Martelli aleaxit at yahoo.com
Tue Apr 3 18:05:09 EDT 2001


"David Allen" <mda at idatar.com> wrote in message
news:O3ry6.5740$jL4.889493 at typhoon1.ba-dsg.net...
    [snip]
> in the same directory.  Furthermore, I can't even
> combine both of them into TOOL.py because when I
> unzip files on windows machines, it turns TOOL.py
> into "tool.py" and then my "import TOOL" fails
> since there's no file called "TOOL.py"

That's strictly a program with the unzipping program
you choose to use: the Windows filesystems to allow
the creation of all-uppercase file names, it's just the
shells and application programs (such as unzippers)
that may think it tacky and make it difficult or not
possible -- but that's a problem with the program in
question, surely not with Windows.


> Is windows seriously this obtuse that short of
> separating them by directory, I'm forced to merge
> them into tool.py? (I.e. I don't even have the option
> of using an all-uppercase filename)

You can use any case you want, with appropriate
file-creation tools.  But that is surely a minor issue
(perhaps not worth the bother of tampering with
your unzipper or whatever).  There IS no way to
have to files in the same folder whose names only
differ by case in any case-independent filesystem.
That is more or less the definition thereof...!-)


Alex






More information about the Python-list mailing list