Can anybody help me make sense of the fact that the following script doesn't work? It's so simple I can't imagine what I'm missing. Any help will be much appreciated.
Peace,
STM
## ALARM CLOCK:
from time import sleep,time,localtime
wakeuptime = input('hours: '), input('minutes: ')
onehourlater = (wakeuptime[0]+1, wakeuptime[1])
while not wakeuptime < localtime(time())[3:5] < onehourlater:
sleep(3)
print 'PLAY A SOUND FILE'
--
http://mail.python.org/mailman/listinfo/python-list
