Capturing stdout incrementally

Josiah Carlson jcarlson at uci.edu
Sat Apr 3 17:03:46 EST 2004


> I am on Windows by the way, so the utilities are printing to the windows
> command shell.

By default, popen in Windows buffers everything coming from the called 
app.  I believe you can use various Windows system calls in pywin32 in 
order to get line buffered output, but I've never done it, so have 
little additional advice other than "check out pywin32".

  - Josiah



More information about the Python-list mailing list