โฐ Python Beep Clock
A simple Python script that displays the current date and time in real-time and plays a beep sound every 5 seconds.
๐ Features
Continuously prints the current date and time.
Plays a beep sound every 5 seconds.
Uses Pythonโs built-in libraries (datetime, time, and winsound).
Lightweight and easy to run on Windows.
๐ Requirements
Python 3.x
Windows OS (since winsound works only on Windows)
๐ต How It Works
The script checks the current second from the system clock.
If the second is divisible by 5, a beep sound is played.
The console keeps showing the current date and time every second.
๐ Example Output
โ ๏ธ Notes
Works only on Windows because of the winsound module.
If you want cross-platform support, you can replace winsound.Beep with libraries like playsound or pygame.