issue on internal import in a package

人言落日是天涯,望极天涯不见家 at
Sun Feb 27 13:11:57 CET 2011

Here is a simple example:
     --> empty
     --> import b
    --> defined a function foo()

In the, contains the below statement:
from module import a
Execute the will get error:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "module\", line 1, in <module>
    import b
ImportError: No module named b

Why the can not be found by

More information about the Python-list mailing list