I am trying to execute a .py file from java code. I move the .py file in the default dir of my java project and I call it using the following code:
Strin
You can run the python script
Process p = Runtime.getRuntime().exec(PYTHON_ABSOLUTE_PATH, script_path)
To get the PYTHON_ABSOLUTE_PATH just type
which python2.7
in terminal