implementing a timer?

Kirill Miazine km-list-python at miazine.net
Tue Dec 18 05:19:33 EST 2001


* waalp <waalp at pissed.co.uk> [20011218 10:56]:
> I'm trying to make a script that will check if i have mail every let's say
> 10 minutes.So i tought let's use something like a timer. But i can't find
> any documentation on how to implement something like this.
> 
> I'm a beginner so it could be that i haven't looked in the right places.
> Could somebody please help?

import time
time.sleep(600) # sleep for 600 seconds

-- 
Kirill




More information about the Python-list mailing list