Bidirectional communication through pipes: read/write popen()

Justin Sheehy dworkin at ccs.neu.edu
Wed Oct 27 15:30:42 EDT 1999


Hrvoje Niksic <hniksic at srce.hr> writes:

> In all kinds of circumstances it would be very useful to call an
> external filter to process some data, and read the results back in.
> What I needed was something like popen(), only working for both
> reading and writing. 

In what way was the popen2 standard module insufficient?

I use popen2.popen2() and popen2.popen3() fairly frequently, and am
trying to see what your code would buy you that you can't do with
those functions.

-Justin

 




More information about the Python-list mailing list