NameError: Case mismatch for module name sys

Martin Erren martin.erren at brainforce.at
Fri May 10 11:20:46 EDT 2002


Hello,

in a package named "Sys" (not of my own). I need:

import traceback, sys

Then I get

"NameError: Case mismatch for module name sys"
(filename lib\Sys\Sys.py)

I don't need "Sys" in the package,
but "sys" in the python-standard lib.

Is the namespace case-insensitive, but I have to address
it case-sensitive?

Can I "leave" the package-Directory in imports explicitely?

Thanks in advance:

Martin Erren






More information about the Python-list mailing list