Message103129
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. |
|
Date |
User |
Action |
Args |
2010-04-14 13:26:58 | ezio.melotti | set | recipients:
+ ezio.melotti, giunghi |
2010-04-14 13:26:58 | ezio.melotti | set | messageid: <1271251618.13.0.384189049845.issue8398@psf.upfronthosting.co.za> |
2010-04-14 13:26:56 | ezio.melotti | link | issue8398 messages |
2010-04-14 13:26:56 | ezio.melotti | create | |
|