In article <[EMAIL PROTECTED]>, Georg Brandl <[EMAIL PROTECTED]> wrote: > That's because __name__ is normally set to the module's name in the package > hierarchy. When you set it to "some1.some2", Python thinks it's > in a subpackage
Ahhhh. So what I *should* have set it to is the module name *without* extension, i.e. __name__='imptest' Thank you. Now I think I understand it. -- http://mail.python.org/mailman/listinfo/python-list