Skip to content

A simple but powerful desktop alarm clock made with Python's Tkinter GUI and Pygame for audio playback. Set an alarm, cancel it, or stop the ringing—easy and user-friendly!

Notifications You must be signed in to change notification settings

RajatSW/Alarm_Clock_PY

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Alarm_Clock_PY

⏰ Python GUI Alarm Clock

This is a lightweight yet functional alarm clock desktop application built with Python using Tkinter for the graphical interface and Pygame to play a custom alarm sound.


💡 Features

  • Set alarm time with dropdowns (hour, minute, AM/PM)
  • Cancels alarm before it rings
  • Plays custom alarm sound (MyAlarm.wav) in a loop
  • Stop button to turn off the ringing
  • Intuitive and clean UI

🚀 How to Run

  1. Install dependencies:

    pip install pygame
  2. Run the script:

    python alarm_clock.py

🔔 Requirements

  • Python 3.6+
  • pygame
  • tkinter (comes pre-installed with Python)
  • An audio file named MyAlarm.wav in the same directory

📁 File Structure

python-alarm-clock/ ├── alarm_clock.py # Main app script ├── MyAlarm.wav # Custom alarm sound (included) └── README.md # This file

About

A simple but powerful desktop alarm clock made with Python's Tkinter GUI and Pygame for audio playback. Set an alarm, cancel it, or stop the ringing—easy and user-friendly!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages