From: Hasan D. <has...@gm...> - 2019-07-27 19:57:05
|
Santhosh, On Sat, 27 Jul 2019 at 12:36, Santhosh Kumar J <san...@ou...> wrote: > Is there any solution to the problem i'm facing? > You can embed the .py in your jar file and load it like this: public static void exec() { PythonInterpreter interp = new PythonInterpreter(); StringWriter outputFromJython = new StringWriter(); interp.setOut(outputFromJython); interp.execfile(inputStreamRepreesntingPyFile); // outputFromJython contains output of execing script } -- OpenPGP: https://sks-keyservers.net/pks/lookup?op=get&search=0xFEBAD7FFD041BBA1 If you wish to request my time, please do so using *bit.ly/hd1AppointmentRequest <http://bit.ly/hd1AppointmentRequest>*. Si vous voudrais faire connnaisance, allez a *bit.ly/hd1AppointmentRequest <http://bit.ly/hd1AppointmentRequest>*. <https://sks-keyservers.net/pks/lookup?op=get&search=0xFEBAD7FFD041BBA1>Sent from my mobile device Envoye de mon portable |