How to compile Python code to Java .class

After jython 2.5 ,  jythonc is disappeared.

But you can use the following command to compile a directory

jython -m compileall path/to/your/jython/files',

then you will get a lot of .class files for each .py file.

你可能感兴趣的:(jython,jythonc)