[Tutor] setting a timer

Matthew Ngaha chigga101 at gmail.com
Wed Sep 12 21:10:27 CEST 2012


> Get a slower computer.
>
> I expect that if you find an old Commodore 64 from 1982, or perhaps
> an 1984 Apple Macintosh, it might be slow enough for your count down
> idea to work. But with modern computers, counting up to, or down from,
> 50000 is more or less instantaneous in human terms.
>
> A better way to pause for a moment is this:
>
> import time
> time.sleep(0.1)  # pause for 0.1 second
> time.sleep(60)  # pause for 1 minutes

hah do u think i could find one of those on ebay???

i wasnt aware of the time module! thanks a lot for your help:)


More information about the Tutor mailing list