Use Java and Python at the same time
Jpype:
https://jpype.readthedocs.io/en/latest/userguide.html#jpype-concepts