import statement is case sensitive

Fredrik Lundh fredrik at
Wed Feb 21 17:20:13 EST 2001

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.


    > 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? ;-)

Cheers /F

More information about the Python-list mailing list