How can I know how much to read from a subprocess

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Wed Sep 19 11:45:11 CEST 2007

In message <1190070896.332844.23080 at>, 
spam.noam at wrote:

> ... how can I know if the process wrote something to its
> output, and how much it wrote?

Others have mentioned using one-byte reads. To tell if something is
available for reading, use select

More information about the Python-list mailing list