read _and_ write from/to commandline program
lamzak8642 at my-deja.com
lamzak8642 at my-deja.com
Sat Apr 8 11:37:34 EDT 2000
Hi,
Is it possible to read from _and_ write to a commandline program (Linux
+ Python)? Apparantly I can't do this with os.popen() because it is
unidirectional.
I'm looking for something like this pseudo code:
proces = magic.function('myprogram', "wr")
proces.write('do this')
result = proces.read
Any options?
LZ
Sent via Deja.com http://www.deja.com/
Before you buy.
More information about the Python-list
mailing list