This is a packet with a source code to run an alarm clock on your local machine, with music of your choice.
This packet contains a Python file with the source code to execute an alarm clock.
The source code, when run asks the user to enter the wake-up time in a 24-hour format (HH:MM:SS).
Nowadays with the pandemic going on, it has been a challenging task to maintain a work-life balance.
The alarm clock program allows one to set time limits to work in addition to performing its primary function.
One can run the program right before taking a power nap and add music of their choice to wake up to!
In order the change the music file, edit the path in the source code.
It will be added as a parameter to pygame.mixer.music.load() function.
Submitted by SHAMBHAVI GUPTA (shambhavi)
Download packets of source code on Coders Packet