我正在使用org.python.util.PythonInterpreter类在java中执行python代码。请在下面的代码片段中找到。 PythonInterpreter pythonInterpreter = new PythonInterpreter(null, new PySystemState());
ByteArrayOutputStream outStream = new By
我写了一个名为jug.java的java文件,它使用jython和PythonInterpreter;这是代码: import org.python.util.PythonInterpreter;
import org.python.core.PyObject;
public class Jug{
public void main(String[] args) {
Py