From: Kevin M. <kev...@er...> - 2001-09-20 13:47:29
|
Hi, On Thu, 20 Sep 2001, Humbel Otmar wrote: > > This is just a guess (I'm not an expert). Maybe try, in test2.py: > sys.add_package("com.ericsson.test1") > from com.ericsson.test1 import test1 > instead of: > sys.add_package("com.ericsson.test1") > import com.ericsson.test1 > > The first is my absolute favourite style of importing, and I almost ever > am successful with it. Yes, in general I also use this method. However, in this case it did not have any effect on the problem. test2.py: --------- import sys sys.add_package("com.ericsson.test1") from com.ericsson.test1 import test1 test1.main([""]) Regards, Kevin _________________________________________________ Name/Title : Kevin McNamee, Software Consultant Phone : +46 13 32 1165 |