🕐
Alarm Clock
A Tkinter desktop alarm clock. Pick an hour, minute and second from the drop-downs, press Set Alarm, and when the system clock reaches that time it…
A Tkinter desktop alarm clock. Pick an hour, minute and second from the drop-downs, press Set Alarm, and when the system clock reaches that time it…
A Tkinter desktop alarm clock. Pick an hour, minute and second from the
drop-downs, press Set Alarm, and when the system clock reaches that time it
plays sound.wav on a loop until you press Stop Alarm.
The folder also contains clock.py, a standalone digital clock that shows the
current time and greets you based on the time of day.
07, 30, 00 from the drop-downs to set an alarm for 07:30:00.07:29:55 07:30:00 to the console each tick.07:30:00, sound.wav starts playing on a
loop and "Wake Up now!" is printed to the console.pip install pygame
python alarm_clock.py # the alarm
python clock.py # the digital clock
tkinter — GUI (ships with the standard Python installer)pygame — plays the alarm sound (alarm_clock.py only)