How to do os.popen with write and read at the same time?
Benyang Tang
btang at pacific.jpl.nasa.gov
Mon Mar 13 21:00:29 EST 2000
I like to do thing like:
stdin > grep 'something' >stdout
How do I access stdin and stdout in python?
os.popen accepts either 'w' or 'r' mode, but not both at the same time.
More information about the Python-list
mailing list