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

Hendrik van Rooyen mail at microcorp.co.za
Sat Oct 14 11:22:51 EDT 2006


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




More information about the Python-list mailing list