call a function every n mseconds

Josiah Carlson jcarlson at nospam.uci.edu
Sun Feb 22 13:48:08 EST 2004


> If you use time.sleep, as in the example above, and the function takes
> some amount of time, say deltaT, then your loop actually executes
> every msecs+deltaT. This may or may not be an issue for you.

Vedran wasn't worried about the delta, so I didn't concern myself with 
it either.

  - Josiah



More information about the Python-list mailing list