From: Edward P. <epo...@te...> - 2002-03-13 00:39:58
|
Hello, I just ported some python to java for various reasons. I have a package hierarchy like A B c.class, d.class if I: from A.B import * there is nothing in the global namespace. However if I: from A.B import c,d then all c, d are in the globals() What am I leaving out? I tried: Setting the python_path= root of A Setting the class path to root of A Adding __all__=[c,d] etc to the __init__.py folders (do I even need them, there are only .java and .class files in the hierarchy. Thanks -Ed |