Re: repeat tkinter

2010-05-03 Thread Peter Otten
Robin wrote: > How can I make a command within a tkinter application repeat itself > over and over in intervals of a certain time. >>> import Tkinter as tk >>> root = tk.Tk() >>> color = "blue" >>> def switch_color(): ... global color ... if color == "blue": ... color = "red"

repeat tkinter

2010-05-03 Thread Robin
How can I make a command within a tkinter application repeat itself over and over in intervals of a certain time. Thanks, -Robin -- http://mail.python.org/mailman/listinfo/python-list