How to terminate the function that runs every n seconds
Mark Lawrence
breamoreboy at yahoo.co.uk
Wed Jan 14 11:54:10 EST 2015
On 14/01/2015 16:33, Dave Angel wrote:
>
> Note that neither Timer nor sleep makes any promises about how
> accurately it matches the requested time.
>
Reminds me of working on Telematics S200/300/4000/5000 telecomms kit in
the early 90s where the timers were mains based, so a one hour timer
would go off at about one hour, 30 seconds. Programming becomes such
fun working around such things :)
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
More information about the Python-list
mailing list