best way of defining a "timer"

Warren Postma embed at
Fri Mar 31 16:36:20 CEST 2000

> Is there a community concesus on the best way of defining a "timer" in
> python? The properties I expect from a timer is simple: firing off
> action, generating event upon time.
> Basically, I look at python from concurrent programming point of view, so
> timer is one of the basic unit I want to be familiar with.

Try defining a thread that sleeps then executes a function, then sleeps


More information about the Python-list mailing list