标签:pythoninterpreter
-
有没有一种方法可以使用PythonInterpreter将python代码的输出值(例如“ print('python code')”)返回到String或其他对象中 - java
我正在尝试使用java做一个简单的python解释器。基本上,您编写一些python代码,例如print('hello world'),然后将请求发送到Spring Boot后端应用程序,该应用程序使用PythonInterpreter库解释代码,并以JSON对象形式返回结果,例如: { "result": "hello wor […]