Using jython to call python procedures/methods
icanbob at gmail.com
Thu Jan 21 02:00:10 CET 2010
On Jan 20, 10:32 am, KB <ke... at nekotaku.com> wrote:
> Hi there,
> I have an application that only publishes a Java API. I can use jython
> to access java classes, but jython currently (to the best of my
> knowledge) does not support numpy/scipy.
> Ideally I would like to have jython call a "native" python routine
> where I have the numpy/scipy procedures already written.
> Does anyone have any experience with this? Is it possible?
> I had toyed with the idea of having jython/java write the data to a
> file/database and then manually kick off the python process, but
> ideally I would like this as automated as possible.
> Thanks in advance.
You might want to take a look at the SIMPL toolkit (http://
www.icanprogram.com/simpl). It sports both JAVA and Python hooks so
you should be able to pump the data from your JAVA module to a Python/
More information about the Python-list