This project implements a simple alarm clock application using the Tkinter library in Python. The user can set the time for the alarm, and the alarm will sound at the specified time.
- Python 3.5.x
- Tkinter library
- Winsound
- Datetime
- Time
- Set alarm time
- Display current time
- Alarm sounds at specified time
- Clone or download the repository to your local machine.
- Navigate to the directory where the code is stored.
- Run the following command in your terminal:
python alarm_clock.py
- Enter the desired alarm time in the format
HH:MM:SS
and click the Set The Alarm button.
Note: enter time in 12 hours format.
- The current time will be displayed on the GUI, and the alarm will sound at the specified time.
You can change the alarm sound by replacing the sound.wav
file in the repository with a different audio file. The file should be in .wav format.