-1

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

I want my python variable should receive all the output of java program and using that variable i will display the output on the screen. also if there is a input to java program, I want that user will enter the input which will be stored in my python variable and using this variable, I want to pass the input to java program.. What should I do?? Please help..

0

1 Answer 1

1

Consider using Jython instead, it was designed with Python-Java interoperability in mind. Alternatively, use the standard input/output facilities of the operating system for writing strings back and forth between the two programs, take a look at this post.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.