Timers in Python?
Aahz Maruch
aahz at panix.com
Mon Dec 18 12:39:15 EST 2000
In article <3a3e42ef.16144323 at news.skynet.be>,
Daniel <Daniel.Kinnaer at AdValvas.be> wrote:
>
>Is there an equivalent of the Delphi Timer-component in Python as
>well? That is, I want to have two Timers : Timer1 needs to activate
>itself every 2 minutes and Timer2 needs to activate itself every 7
>minutes.
There's nothing built-in. If you're using Tkinter (and I assume other
GUI libraries), you can set up "alarms"; otherwise, I suggest you spawn
off a timer thread.
--
--- Aahz (Copyright 2000 by aahz at pobox.com)
Androgynous poly kinky vanilla queer het <*> http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6
This is a signature anti-virus.
Please stop the spread of signature viruses!
More information about the Python-list
mailing list