[Tutor] Timer

Pujo Aji ajikoe at gmail.com
Tue Dec 6 16:12:35 CET 2005


Probably the simplest thing is to make the computer sleep in a specific
time.

Example:
def main():
    time.sleep(2) # sleeping 2 second
    print 'finish'

Cheers,
pujo

On 12/6/05, Joseph Quigley <cpu.crazy at gmail.com> wrote:
>
> I'd like to make a 30 minute timer. How an I do that? With time?
> Thanks,
>    Joe
>
> --
> There are 10 different types of people in the world.
> Those who understand binary and those who don't.
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20051206/5268b4ca/attachment.html


More information about the Tutor mailing list