📜  python to java在线翻译器-C编程语言代码示例

📅  最后修改于: 2022-03-11 15:04:37.230000             🧑  作者: Mango

代码示例1
import org.python.util.PythonInterpreter;

public class JythonHelloWorld {
  public static void main(String[] args) {
    try(PythonInterpreter pyInterp = new PythonInterpreter()) {
      pyInterp.exec("print('Hello Python World!')");
    }
  }
}