"ReTrY" <[EMAIL PROTECTED]> wrote: > I'm writing a program with Tkinter GUI, When the program is running it > need to be updated every five seconds (data comes from internet). How > should I do that ? How to make a function in main loop ?
Short answer: use the after method to set up a periodic scan of a queue. In another thread, look for the new stuff, and put it on the queue when found. there is a recipe for this sort of thing, but I keep losing links. - Hendrik -- http://mail.python.org/mailman/listinfo/python-list