Re: best way to create a timer

2008-06-14 Thread Rhamphoryncus
On Jun 12, 11:42 pm, Alexnb <[EMAIL PROTECTED]> wrote: > 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

Re: best way to create a timer

2008-06-13 Thread Giampaolo Rodola'
On 13 Giu, 07:42, Alexnb <[EMAIL PROTECTED]> wrote: > 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

Re: best way to create a timer/alarm

2008-06-13 Thread Gabriel Genellina
En Fri, 13 Jun 2008 02:42:53 -0300, Alexnb <[EMAIL PROTECTED]> escribió: 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

Re: best way to create a timer

2008-06-13 Thread subhabrata . iisc
You can think of doing with import time module and time.sleep(n) but you have to calculate n in seconds. Subhabrata. Alexnb wrote: > 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 > s

best way to create a timer/alarm

2008-06-12 Thread Alexnb
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 w