python
def say_hello(name):
print("Hello, " + name + "!")
import org.python.util.PythonInterpreter;
import org.python.core.*;
public class JythonExample {
public static void main(String[] args) {
PythonInterpreter interpreter = new PythonInterpreter();
PyFunction pyFunction = interpreter.get("say_hello", PyFunction.class);
}
}