Line buffering pipes

Alex Martelli aleaxit at yahoo.com
Mon Nov 1 09:50:56 CET 2004


> I've found in help( 'open') that specifying 1 as the buffer size
> indicates line buffering. I've tried this, but the same non-line
> buffered behaviour persists. I've tried disabling buffering
> altogether, specifying 0 as the buffer size, to no avail.

Then it looks like the buffering is being done by the application you're
driving.  Try pexpect.sourceforge.net maybe...


Alex



More information about the Python-list mailing list