Assuming you are starting the python program something like this:
Process p = Runtime.exec("python", pathToProgram);
then you can just print
stuff from Python. You can get it by this:
BufferedReader in = new BufferedReader(new InputStreamReader(p.getInputStream()));
Now, to get back a line of output, you can do this:
String line = in.readLine();