开发者

Python calling both Java and C modules, howto?

Jython calls Java modules, and C-language modules calla开发者_StackOverflowble from Python. What if a Python/Jython program needs to call some modules in Java and some in C, any solution?


Jython partially supports ctypes in last builds, so you should check whether current support is enough for your needs.

If not, you can go with JNA, http://www.flester.com/blog/2009/02/21/java-jna-jythonjruby-the-sweet-spot

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜