running jython bytecode using java
It looks like I'm missing something. When using Jython to run my Python code in Java, Java bytecode files are generated (test.py -> test@py.class). Can I run these classes directly using java? In other words, I want to make this: $ java test@py [additional cp args] work. The intent: writing Python code and not having to give away source code. Here's what works for me: test_p.py: def foo(): print 'test from Python' TestJ.java: import org.python.core.PyFrame; import org.python.core.PyFunctionTable; import org.python.util.PythonInterpreter; public class TestJ { public static void main(String[]