[wingide-users] Flushing stdout in the python shell tool

Wingware Support support at wingware.com
Thu Apr 19 09:17:02 MDT 2007

Jonathan Mozes wrote:
> I'm trying to cause the python shell tool to print messages while
> executing a command, and not after everything is done.
> Sys.stdout.flush() doesn't work - Is there any way to do this?

Unfortunately, it currently isn't possible to display output before the 
command completes -- internally sys.stdout is set to a cStringIO object 
and the value is retrieved when the command completes.  We will try to 
improve this in the future.



More information about the wingide-users mailing list