# Alarm Clock
A simple alarm clock in Python.
It allows you to set an alarm after a given number of hours/minutes.
When the alarm time is reached, it plays an MP3 file.
## How it works
- Uses datetime and timedelta to calculate the alarm time.
- Waits in a loop until the current time reaches the alarm.
- Plays an MP3 file using playsound.
## Requirements
- Python 3.x
- playsound 1.2.2
Install with:
pip install playsound==1.2.2
Run
Put your .mp3 file in the project folder and update the path in the code:
python
Skopiuj kod
playsound(r"C:\\path\\to\\your\\file.mp3")