CPython from Java?

前端 未结 2 2042
既然无缘
既然无缘 2021-01-14 05:28

I need to call CPython code from Java. What tools/APIs/libraries exist out there to help me do this?

Jython is not an option since the Python code is heavily depende

2条回答
  •  滥情空心
    2021-01-14 06:13

    You can take a look at using Jepp to embed CPython into Java. Read documentation here.

    edit: For windows the project has prebuilt binaries for Python 2.4, 2.5, and 2.6. For Linux/Unix systems, you have to build it yourself.

提交回复
热议问题