Sunday, May 10, 2009

JPype vs Jython

It is often desirable to access Java libraries (such as Weka and Mallet) in Python code. There are currently two possible approaches: JPype and Jython. The former looks more attractive, as it is achieved not through re-implementing Python (as the latter does), but rather through interfacing at the native level in both Virtual Machines.


Hemanth said...

You know, I was looking exactly for this the last couple days. Websearch failed to get this page, but thanks to your rss feed i've subscribed to..

I want to load weka models and make them available in python and vice-versa. Do blog if you're successful.

Hemanth said...

It suggests JPype works for weka.