[EMAIL PROTECTED] wrote:
> I'm using Jython in combination with Java, webservices and jboss4.0.4.
>
> The webservice is implemented in java and creates an PythonInterpreter
> object which loads the jython scripts.
> I wrote an jython script which uses a function from another jython
> file called library.py.
...
> ImportError: no module named javaos in library.py.
>
> Any ideas?
You need to make sure that the Jython Lib directory is on sys.path - the
easiest way it to put it in the same directory as jython.jar e.g. in
your webapp have:
WEB-INF/
lib/
jython.jar
Lib/
...
os.py
...
Tim Delaney
--
http://mail.python.org/mailman/listinfo/python-list