Skip to content

Files

Latest commit

 

History

History

Alarm Clock

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Alarm Clock

🗒️ Description

The provided script is a simple alarm clock that asks the user to input a time in the 'HH ' format. It continuously checks the current time and prints "Time to wake up!" when the specified time is reached.

Required Modules

The script requires the following Python standard library modules:

'datetime' 'time'

Since these are part of Python's standard library, you don't need to install any additional modules.

▶️ How to Run the Script

  1. Clone the Repository:
    git clone https://github.com/ShravanDalavi/Simple-Python-Mini-Projects.git
    
  2. Navigate to Directory:
             cd Simple-Python-Mini-Projects/Alarm\ Clock
  3. Run the Script:
            python alarm_clock.py
  • Set an alarm with a specific time, and the script will alert you when the time is reached.