How do I run routines where timing is critical?

Tim Lesher tim at
Thu Jun 24 16:56:27 CEST 2004

"S. David Rose" <photos at> wrote in message news:<GorBc.75458$V57.10872803 at>...

> But, what I'd like to do is have a loop
> which does not need to 'sleep' but can rather evaluate where I am in the
> second and then have that logic trigger the event. 

Sounds like you're writing your own scheduler.  You might want to look
into the 'sched' module.

Tim Lesher
tim at

More information about the Python-list mailing list