I am wondering if it is possible to call python functions from java code using jython, or is it only for calling java code from python?
You can call any language from java using Java Native Interface