Threads and Tkinter GUI ...

Grant Edwards grante at visi.com
Mon Oct 23 15:45:09 EDT 2000


In article <slrn8v9440.2e0.grante at bambi.visi.com>, Grant Edwards wrote:

>If I were you, I'd just use the after() method on the top-level window to
>schedule a function to run every 5 seconds.  It's a lot simpler than doing
>the whole thread thing.

OTOH, I think your GUI will pause while that function is running, so you
might not want to use it for a ping operation after all...

-- 
Grant Edwards                   grante             Yow!  HUGH BEAUMONT died
                                  at               in 1982!!
                               visi.com            



More information about the Python-list mailing list