I've got a script in another language and I've set a writer from the script to python. Now I'm trying to send data back the other way... ie python -> to my script. However I've got nothing to reference in python, and i'm clueless. Can anyone provide assistance? Or point me in a direction please?
Bash will do that for you In Linux. You can also use sys.stdout.write(sys.stdin.read()), although subprocess is now the preferred method. I would guess that on other operating systems it would also be subprocess. This is Doug Hellman's module of the week on subprocess which should get you started http://blog.doughellmann.com/2007/07/pymotw-subprocess.html