我使用org.python.util.PythonInterpreter类在java中执行python代码。请在下面找到我的代码片段。PythonInterpreterpythonInterpreter = new PythonInterpreter(null, new PySystemState());
pythonInterpreter.setOut(outStr
我使用org.python.util.PythonInterpreter将嵌入到Java应用程序中。我使用的是Jython版本的2.5.2。PythonInterpreter pi = new PythonInterpreter();result = pi.eval(codeorg.python.core.ParserFacade.parseExpressionOrModule(ParserFacade.java:119)
[java] at org.pytho