How to delay until a next increment of time occurs ?

Skip Montanaro skip.montanaro at gmail.com
Wed Nov 13 09:25:21 EST 2019


> So, I'm looking for a method that will allow me to wait for a "last time
> plus increment".  Is there one with the properties of sleep() (not just
> burning processor cycles way, blocking all threads), but referencing a
> previous time.

Take a look at threading.Timer.

Skip


More information about the Python-list mailing list