import statement is case sensitive
costas at meezon.com
Wed Feb 21 22:31:39 EST 2001
Interesting article. However the PYTHONCASEOK as suggested in the
article does not seem to work. I set it to PYTHONCASEOK = 1 and import
still insists on being case-sensitive.
Also python -h has nothing helpful in this respect. Any other ideas
barring changing OS and renaming directories would be appreciated.
>> Is there anyway to make the import statement NOT case sensitive?
>> sometimes directory names are in mixed case or different case from the
>> import statment.
> > python -h
>and read the help text.
>or read this article:
>or rename the directories; even if your operating system is
>case-insensitive, it's probably not case ignorant.
>> Also what is the purpose of even having it case sensitive. I've yet to
>> see a file system that has case sensitive filenames....
>time to get a real operating systems? ;-)
More information about the Python-list