import statement is case sensitive

Costas Menico 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.

Thanks

Costas

>Costas wrote:
>> 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.
>
>try:
>
>    > python -h
>
>and read the help text.
>
>or read this article:
>
>    http://python.sourceforge.net/peps/pep-0235.html
>
>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? ;-)
>
>Cheers /F
>
>




More information about the Python-list mailing list