This project shows how to execute Python code within a Java project. There are three different ways to do that:
- Using Apache Commons Exec
- Using Jython
- Using Process Builder
Each has advantages and disadvantages, but Jython does not support Python 3, while the others use Python installed on your local machine.
Apache Commons Exec doesn't work well handling Pythons lists, while Process Builder doesn't work well with Numpy Array.
Allan Capistrano |
ย ย
Please โญ this repository if this project is useful or has helped you.