简体   繁体   中英

Communication between Java and Python using Jython

I'm still trying to figure out how to receive a response from python script to my Java file making use of Jython. I know we can use PythonInterpreter execfile to execute python scripts but does PythonInterpreter allows us to receive the respone from the script ?

I know the question is being asked many times, but I would like to know if we can do this using Jython.

Thanks in advance

How about communicating through web service? It keeps modules loosely coupled and gives you ability to split work between developers more easily.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM