DoEvents equiv?

Costas Menico costas at meezon.com
Fri May 11 06:51:31 EDT 2001


Mark Hammond <MarkH at ActiveState.com> wrote:

>Scott Hathaway wrote:
>
>> What is the equivalent in Python for VB's DoEvents on Windows?  
>
>
>It really depends on the GUI system you are running.  In many cases, 
>PumpMessages in either win32ui, win32gui or pythoncom will do the job. 
>For a Tkinter app, it will be something different, but I don't know what 
>that is.
>
>> Also, is there a similar function for linux/unix systems?
>
>

I thought thats what time.sleep(x.xx) did? It relinquishes control to
the OS..




More information about the Python-list mailing list