|
From: <lc...@cs...> - 2007-06-12 16:21:42
|
Hello, Thanks for the answers. I have a third party java library that I need to use in an application =20 implemented in python. I thought jython could be the alternative, but =20 I am not sure of that now considering the answers I have received. =20 Anybody think there is a a way of doing this with jython?. Otherwise, =20 is there any other alternative?. Thanks, Lorena Quoting "Diez B. Roggisch" <die...@ar...>: > On Tuesday 12 June 2007 06:56, lc...@cs... wrote: >> Hello, >> >> Yes, I tried both (p and j, with j works). So my question was, if is >> it possible to call a jython application using python command, or to >> create a jython program as python module?. Sorry if this question is >> too naive for this group, I am a beginner in jython and python. > > The whole purpose of Jython is to make python code run under the JVM of Ja= va. > > Depending on your code, one script can run both in Jython and in CPython. > > But you can't run code that uses e.g. java.util-classes in CPython. =20 > It doesn't > have them. > > What do you _really_ want - what's your task? > > Diez > |