from myapp.util import UtilClass
From: John Goerzen [mailto:jgoerzen@...]
Sent: Friday, August 31, 2001 3:54 PM
Subject: [Jython-users] import problems
In my .py file (again compiled with jythonc to be called from java), I
have something like this:
from java.myapp.util import UtilClass
I get a runtime error complaining that the "myapp" module does not
exist. What is the proper way of doing this? (Note that all sorts of
other things find myapp.util.UtilClass without problems.)
Jython-users mailing list
From: John Goerzen <jgoerzen@co...> - 2001-09-01 05:14:17
> from myapp.util import UtilClass
Ahh... from reading the docs, I had thought that I had to add 'java.'
before any Java stuff. I guess just all the examples used that :-)
OK, I'll try that.
Get latest updates about Open Source Projects, Conferences and News.