Can I set up a timed callback without Tkinter or twisted or something?

hg hg at nospam.com
Sat Oct 14 12:06:03 EDT 2006


Hendrik van Rooyen wrote:
> Hi,
> 
> I want to do the equivalent of the after thingy in tkinter - setting up in
> effect a timed call back.
> 
> My use case is as a "supervisory" timer - I want to set up an alarm, which I
> want to cancel if the expected occurrence occurs - but its not a GUI app.
> 
> My googling gets a lot of stuff pointing to optparse...
> 
> Does the standard lib have anything like this?
> 
> - Hendrik
> 

http://python.active-venture.com/lib/timer-objects.html



More information about the Python-list mailing list