From: dman <ds...@ri...> - 2001-11-25 01:02:45
|
Hi Danny! On Mon, Nov 19, 2001 at 03:27:51PM -0800, Danny Yoo wrote: | I've been experimenting with jythonc, and one of my experiments was to | play around with Java interfaces. In the course of my experiments, I've | been running my head into a strange AttributeError. [implemented java interface with python class, compiled with jythonc ] | I'm just scratching my head on this one. Are Jythonc-compiled classes | reusable from Jython itself? Any help on this would be greatly | appreciated. Thank you! I just got jythonc to work again on my machine, so I tried out what you were doing (though I implmemented java.lang.Runnable instead). I got similar results, even when I added an "@sig" line to my python class. It does seem that the classes generated by jythonc are not directly usable in the interpreter. Instead, I guess just use the python source if the interpreter is being used directly, and the jythonc classes if you want to (appear to) do away with the interpreter. HTH, -D |