Using a java library from python

前端 未结 6 1379
日久生厌
日久生厌 2020-12-02 07:38

I have a python app and java app. The python app generates input for the java app and invokes it on the command line.

I\'m sure there must be a more elegant solution

6条回答
  •  余生分开走
    2020-12-02 08:19

    Take a look at Jython. It's kind of like JNI, but replace C with Python, i.e. you can call Python from Java and vice versa. It's not totally clear what you're trying to do or why your current approach isn't what you want.

提交回复
热议问题