On Jul 18, 4:43 pm, [EMAIL PROTECTED] (Aahz) wrote:
> In article <[EMAIL PROTECTED]>,
>
> 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 ?
>
> See the Tkinter example from my threads tutorial on my website.
> --
> Aahz ([EMAIL PROTECTED])           <*>        http://www.pythoncraft.com/
>
> I support the RKAB

There's also a good example on the wxPython wiki dealing with threads
that you should be able to adapt to Tkinter.

http://wiki.wxpython.org/LongRunningTasks

Mike

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to