popen2 trouble
Armin Rigo
arigo at tunes.org
Sat Apr 3 16:04:35 EST 2004
Hello Diez,
"Diez B. Roggisch" wrote:
> When performing this in my console window, everything works as expected. I
> can paste several blocks of text that look like the above one, and the
> crm114 constantly outputs classification results.
Try using the 'bufsize' optional argument in the call to popen2. Set it
to 0 to disable all buffering, if you are writing in large chunks (e.g.
calling inn.write(bigstring)).
Armin
More information about the Python-list
mailing list