What is the significance of after() in this code?

Martin P. Hellwig martin.hellwig at dcuktec.org
Mon Dec 7 03:10:02 EST 2009


W. eWatson wrote:
> See Subject.
>     def StackImages(self):
>         self.Upload("P")
>         self.after_id = self.master.after(10000,self.GetFrameOne)

If you are talking tkinter here, it is an alarm callback.
See http://effbot.org/tkinterbook/widget.htm

-- 
MPH
http://blog.dcuktec.com
'If consumed, best digested with added seasoning to own preference.'



More information about the Python-list mailing list