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

Carl Banks pavlovevidence at gmail.com
Sun Dec 6 23:31:42 EST 2009


On Dec 6, 7:29 pm, "W. eWatson" <wolftra... at invalid.com> wrote:
> See Subject.
>      def StackImages(self):
>          self.Upload("P")
>          self.after_id = self.master.after(10000,self.GetFrameOne)

It's a "method" of the object that is bound to "self.master".  It's
return value is then bound to the attribute "after_id" of the object
"self".


Carl Banks



More information about the Python-list mailing list