I'm wondering if my timer3.py could have been written more simply and easily by using the time or datetime modules to get the number of seconds separating the time now and the time to which the alarm is set.
IOW, is there an easier way to calculate the time difference between the time now, say 08:51 and say, tomorrow at 03:45, to take an example of the most difficult case?


See timer3.py at
<http://www.rcblue.com/Python/timer3_ForWeb.py>

Thanks, tutors.

Dick Moores
[EMAIL PROTECTED]

_______________________________________________
Tutor maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to