Re: Real-time Update

2007-07-20 Thread Hendrik van Rooyen
"Alex Martelli" <[EMAIL PROTECTED]> wrote: > Hendrik van Rooyen <[EMAIL PROTECTED]> wrote: > > > there is a recipe for this sort of thing, but I keep losing links. > > . > thanks - but its probably no use - I predict I will lose

Re: Real-time Update

2007-07-19 Thread Alex Martelli
Hendrik van Rooyen <[EMAIL PROTECTED]> wrote: > "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 ? >

Re: Real-time Update

2007-07-19 Thread kyosohma
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

Re: Real-time Update

2007-07-19 Thread kyosohma
On Jul 18, 3:24 am, 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 ? I'm pretty sure the book "Programming Pyt

Re: Real-time Update

2007-07-19 Thread Hendrik van Rooyen
"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 s

Re: Real-time Update

2007-07-18 Thread Aahz
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

Real-time Update

2007-07-18 Thread ReTrY
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 ? -- http://mail.python.org/mailman/listinfo/python-list