Ezio Melotti <ezio.melo...@gmail.com> added the comment: If you do "import GetMy.com_MOD" Python will search for the module named "com_MOD" in the package "GetMy". The name of the module should be a valid Python identifier -- possibly all lowercase (see PEP8). GetMy.com_MOD is not a valid identifier, so you wouldn't even be able to do GetMy.com_MOD.some_func() once you imported it.
See http://docs.python.org/reference/simple_stmts.html#the-import-statement for more information. ---------- nosy: +ezio.melotti resolution: -> invalid stage: -> committed/rejected status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8398> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com