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
精彩评论