Rajesh Vilasrao Bhujbal wrote:
> In my project i want to call jython script file (.py) in java
> programme. I dont' want to compile jython script file, because i want
> to cange some things in script file. I want avoid recompiling of java
> So can you help me in this matter. Please send me code to call .py
> file through java.
Snippet below from Bruce Eckel's 'Thinking in Patterns' with Java,
Download the book here:
PythonInterpreter interp = new PythonInterpreter();
System.out.println( "Loading GreenHouse Language");
System.out.println("Loading GreenHouse Script");
System.out.println("Executing GreenHouse Script");
Jim Adrig _ \<,_
jim@... ' `/ ' `
___________ `-' `-'
"There are many ways of moving forward,
but only one way of standing still."
- Franklin D. Roosevelt
Get latest updates about Open Source Projects, Conferences and News.