python import error, what's wrong?

smith jack thinke365 at
Tue Aug 2 17:52:42 CEST 2011

I am using pydev plugin in eclipse, all things works just as well
but now i have confronted with a confusing problem, that is i can
import a module write by myself successfully, but when i try to run
this program,
error just shows up, what's wrong?

the directory structure is as follows:


contents of A seems like:
class A

contents of B seems like:                  // I try to run,
python import error just appears, why?

from org.test.A import A
a = A()

More information about the Python-list mailing list