¡@

Home 

python Programming Glossary: java_file

How to execute java program using python considering inputs and outputs both

http://stackoverflow.com/questions/9333637/how-to-execute-java-program-using-python-considering-inputs-and-outputs-both

from subprocess import STDOUT PIPE def compile_java java_file subprocess.check_call 'javac' java_file def execute_java java_file.. def compile_java java_file subprocess.check_call 'javac' java_file def execute_java java_file java_class ext os.path.splitext java_file.. subprocess.check_call 'javac' java_file def execute_java java_file java_class ext os.path.splitext java_file cmd 'java' java_class..