Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

python to java translator online

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!')");
    }
  }
}
Source by www.jython.org #
 
PREVIOUS NEXT
Tagged: #python #java #translator #online
ADD COMMENT
Topic
Name
8+5 =