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+1, wakeuptime) while not wakeuptime < localtime(time())[3:5] < onehourlater: sleep(3) print 'PLAY A SOUND FILE'
|Recent Messages in this Thread|