Fabio Zadrozny wrote:
I guess you could do it with some tool to embed cpython in java...

There are some projects that say they support this (note that I never tried any of those):
http://jepp.sourceforge.net/
http://jpe.sourceforge.net/
http://jpype.sourceforge.net/roadmap.html

Fabio:

I had another look at these projects and you may be interested in using Jepp in Pydev as I believe that you ould use it to execute inline CPython from inside a Java program. Jep uses the Jni to allow Java to call CPython.

As I understand it, you currently spawn separate processes for CPython components of Pydev, I think Jepp would let you run these components synchronously or inside a Java task.

But Jep (presumably jep.dll) presently does seem to require a custom build for each pair (JRE version, Python version).

I have not tried Jep because it will require some (difficult for me) build work to get it running on my machine.

Don.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
pydev-code mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-code

Reply via email to