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

Benjamin Kaplan benjamin.kaplan at case.edu
Sun Dec 6 23:46:05 EST 2009


On Sun, Dec 6, 2009 at 10:29 PM, W. eWatson <wolftracks at invalid.com> wrote:
> See Subject.
>    def StackImages(self):
>        self.Upload("P")
>        self.after_id = self.master.after(10000,self.GetFrameOne)
> --
> http://mail.python.org/mailman/listinfo/python-list
>

I think this is close to winning an award for "least information
provided". How are we supposed to know with the information you gave
us? We don't know what package you're using, what type anything is, or
even the purpose of that method. Try putting this line in there
somewhere
print type(self.master)

and then open up the interactive interpreter, import whatever you need and do
help(<type>.after)



More information about the Python-list mailing list