[Tutor] update a window with tkinter

Danny Yoo dyoo@hkn.eecs.berkeley.edu
Wed, 26 Dec 2001 14:37:34 -0800 (PST)


On 26 Dec 2001, dean wrote:

> right, i just wanted to build a little bandwidth monitor to show the
> current data rates coming in and out of my machine and to update itself
> every few seconds.

Very cool.  You might be interested in the after() and after_idle() alarm
handlers:

http://www.pythonware.com/library/tkinter/introduction/x9507-alarm-handlers-and-other.htm

This should allow you to set things up to update every so often.