sched — Timed Event Scheduler — PyMOTW 3
The sched module implements a generic event scheduler for running tasks at specific times. The scheduler class uses a time function to learn the current time, and a delay function to wait for a specific period of time. The actual units of time are not important, which makes the interface flexible enough to be used for many purposes.
This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.