From: news0reader <new...@ho...> - 2003-09-11 02:59:28
|
Mohammed, You could do this by "embedding" jython; search the web. See this to start: http://www.jython.org/docs/embedding.html --A ----- Original Message ----- From: Mohamed Mnajja To: jyt...@li... Sent: Monday, August 18, 2003 10:04 AM Subject: [Jython-users] get the result of a python method execution. Hello, i would like to execute and get the result of python method from a java class. for example: i have two integers variables declared in a java class as follow: int i=10; int j=20; and i would like to execute a python method/function (using Jython API) that perform the addition of these two integers and then get result. is this possible using Jython or not? and if yes how? thanks. Mohamed Mnajja email: mm...@in... intellixx tunes. |