Here is a simple example: [app] [module] __init__.py --> empty a.py --> import b b.py --> defined a function foo() test.py
In the test.py, contains the below statement: from module import a Execute the test.py will get error: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "module\a.py", line 1, in <module> import b ImportError: No module named b Why the b.py can not be found by a.py? -- http://mail.python.org/mailman/listinfo/python-list