Timer

Derek Fountain nomail at hursley.ibm.com
Mon Oct 27 09:01:01 EST 2003


Alan Kennedy wrote:

> [Derek Fountain]
>> Does Python have a timer mechanism? i.e. an "after 500 milliseconds, run
>> this bit of code" sort of thing?
> 
> Like this?
> http://www.python.org/doc/current/lib/timer-objects.html

That looks like what I'm after, yes. I haven't looked into threads since
they've represented trouble in every other language I've used. But I'll
have a look into their implementation in Python and see if they're any more
usable here...

Thanks.




More information about the Python-list mailing list