best way to create a timer/alarm

Discussion in 'Python' started by Alexnb, Jun 13, 2008.

  1. Alexnb

    Alexnb Guest

    I am wondering what is the best way to create a timer, like an alarm, once it
    reaches a time, it triggers an event. I have a way of doing this but it
    seems like it isn't good at all. If it helps at all I am using a Tkinter,
    but that probably doesn't mean much. The way I was doing it was using a
    while loop, and just saying while current time is not = to trigger time, do
    nothing, and when it is, do event.
    --
    View this message in context: http://www.nabble.com/best-way-to-create-a-timer-alarm-tp17815502p17815502.html
    Sent from the Python - python-list mailing list archive at Nabble.com.
    Alexnb, Jun 13, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kelsang Wangchuk

    System.Timers.Timer vs. System.Threading.Timer

    Kelsang Wangchuk, Jul 31, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    707
    Kelsang Wangchuk
    Jul 31, 2003
  2. Replies:
    1
    Views:
    1,583
    Steve C. Orr [MVP, MCSD]
    Feb 22, 2005
  3. Alexnb

    best way to create a timer

    Alexnb, Jun 13, 2008, in forum: Python
    Replies:
    3
    Views:
    270
    Rhamphoryncus
    Jun 14, 2008
  4. Timer/Alarm for MUD script

    , May 20, 2005, in forum: Perl Misc
    Replies:
    7
    Views:
    155
  5. Ignoramus27279

    Timer/alarm clock module

    Ignoramus27279, Jul 29, 2005, in forum: Perl Misc
    Replies:
    3
    Views:
    183
    Tassilo v. Parseval
    Jul 30, 2005
Loading...

Share This Page