From: <sp...@is...> - 2001-11-22 13:57:57
|
Hi all, I want to indicate a Path where to look for modules. I have=20 "Execution/Script/Module.py" this module has a "Dummy" class, I want to=20= do "import Module ; a =3D Module.Dummy()". The problem is that by redefining the "python.path" property with=20 "Execution/Script/Module.py", when I do an "import string" in=20 "Module.py", the interpreter says that the string module has not been=20 found. Obviously this has overriden the default path to the jython=20 standard modules. This is strange as I thought everything was in Jython.jar. Has anybody=20= any idea on how to solve this? Cheers, -- S=E9bastien. |