Jpython Question

Randy Hudson rgh at inmet.com
Tue Jul 20 17:57:39 EDT 1999


Ian Kezsbom wrote:

> I was just wondering if jpython can instantiate java classes and invokes
> methods on them...any help would be welcome...

Yes. Furthermore, you can extend Java classes in JPython, and override and
add methods, or implement
Java interfaces. You can pass back objects of these JPython classes to Java methods
that accept arguments of the base type. It's a remarkably well-done two-way
integration.

-- Randy Hudson




More information about the Python-list mailing list