Integrating Java and Python 3.x Code in One Project

I am writing my project using python 3.x. I came to a scene where I needed to write some code in Java. Is there anyway for Python 3.x and Java integration? I appreciate Jython.But it doesn't support Python 3.x as I know. Thanks in advance.

+3


source to share


1 answer


Here are two projects that use JNI to connect a standard python interpreter to the JVM, both projects support python 3.



I would recommend starting with JPy since you currently have python and it allows you to call java from python .

0


source







All Articles