How do I run routines where timing is critical?

Tim Lesher tim at lesher.ws
Thu Jun 24 10:56:27 EDT 2004


"S. David Rose" <photos at conversent.net> wrote in message news:<GorBc.75458$V57.10872803 at news4.srv.hcvlny.cv.net>...

> 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 lesher.ws



More information about the Python-list mailing list