Skip to content

grimreaper1915/Alarm-Clock-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Alarm Clock (Python Project)

This is a simple alarm clock built using Python that allows a user to set a specific time and plays a sound when that time is reached.

I created this project to understand how real-time systems work using Python, especially working with time, loops, and external libraries.


Features

  • Set alarm using time format (HH:MM:SS)
  • Displays live current time
  • Plays a sound when alarm triggers
  • Handles invalid time input
  • Uses real-time checking with seconds precision

Tech Used

  • Python
  • Built-in modules: time, datetime
  • External library: pygame (for sound)

What I learned

  • Working with date and time in Python
  • Real-time loop execution
  • Using external libraries (pygame)
  • Handling user input and validation
  • Basic automation logic

How to run

  1. Install pygame (if not installed):
pip install pygame

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages