Oops, I didn't have the mailfolder listed in my MUA. Wow. The list
isn't dead. :-)
On Fri, Jan 19, 2001 at 03:08:13PM +0000, Finn Bock wrote:
| On Thu, 18 Jan 2001 17:27:39 -0500, you wrote:
| >How can you access Python classes / modules directly from Java?
| A python class can implement a java interface or java class by listing
| the java interface as a base class. Instances of such a python class can
| be passed to java code as a parameter and used as any other java class.
| In addition, the command "jythonc" can be be used to create a java class
| from a python module. Such a java class be used from a java program as a
| normal java class. Including in a "new" statement.
I just found it in the FAQ -- I need to include @sig in the doc
string. I was using jythonc, but it didn't create a Java interface
that matched my Python interface (it simply called into the
interpreter to execute the python stuff).
I'll check it out some more.