开发者

It's possible to integrate Python with Java?

开发者 https://www.devze.com 2023-03-24 15:33 出处:网络
I have a main application tha开发者_运维技巧t is coded with Java, but I want to use Python because the NLTK lib.

I have a main application tha开发者_运维技巧t is coded with Java, but I want to use Python because the NLTK lib.

I want to know if it's possible do some integration with these two languages. Thinks like passing parameters from Java to Python and retrieving processed data from Python to Java.


Try Jython

From their FAQ site:

What is Jython?

Jython is the successor to JPython. The Jython project was created in accordance with the CNRI JPython 1.1.x license, in order to ensure the continued existence and development of this important piece of Python software. The intent is to manage this project with the same open policies that are serving CPython so well.

What is JPython?

JPython is an implementation of the Python programming language which is designed to run on the Java(tm) Platform.

0

精彩评论

暂无评论...
验证码 换一张
取 消