Waiting awhile
pehr anderson
pehr at pehr.net
Thu Aug 10 09:02:19 EDT 2000
reat about the time module at
http://python.org/doc/current
import time
time.sleep(1)
time.sleep(0.5)
-pehr
Mike Olson wrote:
>
> How do I make a function delay for a second or two? Is there a way
> other than the after function? If not, how does the after function
> work? I am not able to figure it out at all. I tried to do:
>
> self.after(100, self.function)
>
> but it just says that after is an attribute error. Can anyone help me?
>
> --
> Mike Olson
> Provis Corporation
> Columbia Heights, MN
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
More information about the Python-list
mailing list