How to python script in JAVA program
|
Author |
Message |
|
|
Posted : Tue, 07 April 2009 17:31:02
Subject :
How to python script in JAVA program
Hi,
I want to execute a python script in my java program. can any one tell me how I can I do that.
Thanks in Advanced
|
|
|
|
Rubberman
|
Posted : Wed, 08 April 2009 21:18:58
Subject :
How to python script in JAVA program
Yes, but the relevant question is whether or not you want to process the resulting data in your Java program, or just want to execute the python script. The simplest means of starting a system process in Java is probably one of the Runtime.exec() methods. These is found in your Java Runtime Core API classes. A URL to the latest docs is: http://java.sun.com/javase/6/docs/api/
|
|
Evan
|
Posted : Sun, 03 May 2009 15:49:56
Subject :
How to python script in JAVA program
runtime.exec()??
oh~some help with me thanks.
|