Two Jython Questions

Maan M. Hamze mmhamze at
Wed Aug 29 22:12:08 CEST 2001

I just got into Jython.  I installed version 2.  After trying it out, I
wanted to import Java classes.  But I noticed that it will not import from
jar or zip files of java classes.  In other words, I had to unzip (unjar)
the classes into a directory where Jython can find it.
1.  Is there a way to make Jython import classes directly from archives
(zip. jar)?  Or is this not supported.
2.  Can Jython save a py script into a java file or is the py script
compiled directly into a .class file?
All in all I am impressed - this program can spoil someone into not writing
a code of Java ever again.

More information about the Python-list mailing list