From: Pierre T. <pie...@gm...> - 2011-06-28 19:58:41
|
2011/6/23 Safoura Seddighin <s.s...@gm...> > Hi > > As I am trying to find a way to call a python library functions (which work > with CTypes) from an extensive existing Java code base, > I found out about both Jepp and also the possibility of calling the python > interpreter directly form Java. > I Know that Jython doesn't support C extensions (CTypes) but will I have > the same problem if I use the interfaces and call the python interpreter > from my Java code? > If yes, can any one help me figure out whether Jepp is going to be a better > solution. > Someone suggested I use py4J but I wanted to make sure that the research I > have done so far (On Jython and Jepp) has come to an end. > Thanks so much in advance. > I would appreciate any thought/comment. > > THANKS > Safi > > > One way to go would be to use the Java JNI to wrap the C stuff in Java and then import the Java stuff in Jython. -- A+ ------------- Pierre My blog and profile (http://pierrethibault.posterous.com)<http://pierrethibault.posterous.com> YouTube page (http://www.youtube.com/user/tubetib)<http://www.youtube.com/user/tubetib> Twitter (http://twitter.com/pierreth2) <http://twitter.com/pierreth2> |