PyWin: Redraw during long loops?

Mark Hammond mhammond at skippinet.com.au
Sun Apr 6 18:53:07 EDT 2003


Ingo Linkweiler wrote:
> Hello,
> 
> I am using PythonWin.
> When my programs are in a long loop, the redraw of Pywin is blocked.
> PyWin only redraws its window and handles events, when a print (with 
> newline) or input is done.
> 
> Is there a way to avoid this?
> 
> Ingo

Calling win32ui.PumpWaitingMessages() generally avoids this.

Mark.





More information about the Python-list mailing list