scheduler.enter()
scheduler.enter() is a Python method in the Sched Module category. Schedules an event after `delay` seconds. The syntax is scheduler.enter(delay, priority, action, argument=(), kwargs={}). Parameters: delay, priority, action, argument. Returns: Event object. A typical example: s.enter(10, 1, shutdown, argument=("urgent",)). A close sibling is sched.scheduler(), which creates an event scheduler for delayed/periodic tasks. A close sibling is scheduler.enterabs(), which schedules an event at an absolute time. A close sibling is scheduler.cancel(), which cancels a scheduled event. A close sibling is scheduler.run(), which runs all scheduled events. Blocks until no more events. More about this category: Event scheduler — scheduler, enter, enterabs, run, cancel. Related Sched Module entries: sched.scheduler(), scheduler.enterabs(), scheduler.cancel(), scheduler.run(), scheduler.empty(). This page is part of the free Python Reference documentation covering 978+ functions, methods, and modules with examples and parameter details. You can try scheduler.enter() immediately in the Python playground, look up unfamiliar terms in the glossary, or return to the Python Reference homepage.