0% found this document useful (0 votes)
12 views

Alarm Clock

alarm clock code in python for first sem

Uploaded by

dadig3647
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

Alarm Clock

alarm clock code in python for first sem

Uploaded by

dadig3647
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 9

Name of the School: School of Computer Science and Engineering

ALARM CLOCK Project ID :- CS2111

Submitted By :-
 ANURADHA
Admission No. : 23SCSE1011304
 PRINCE KUMAR Submitted to:-
Admission No. : 23SCSE1011338 Prof. Tarachand Verma
Programe Name: B.Tech (CSE)
Name of the School: School of Computer Science and Engineering

INTRODUCTION
• An alarm clock might seem like a simple
concept, but building one from scratch provides
valuable insights into programming and
practical applications.

• The motivation behind this project stems from


the desire to apply Python programming skills to
a real-world scenario.

• Name:
Programe I willB.Tech
demonstrate
(CSE) its functionalities through
MOTIVATION
The Motivation behind using python for making Alarm Clock:

Practical Application:
• An alarm clock is a daily necessity, and creating one in Python allows for a hands-on application
programming skills to solve real-world problems.

Skill Enhancement:
• Building an alarm clock involves integrating various Python concepts, such as time handling, user
input, and notifications. This project serves as a practical exercise to enhance programming
proficiency.

Customization and Learning:


• Python's versatility enables the creation of a highly customizable alarm clock. This project provides
an opportunity to explore and learn while tailoring the alarm clock to personal preferences.

Expandability:
• An alarm clock is a fundamental application, but its features can be expanded over time. This
project serves as a foundation, with the potential for future enhancements and additions.
KEY FEATURES
Graphical User Interface (GUI):
• The program utilizes Tkinter to create a user-friendly interface for setting up alarms.

Alarm Setting:
• Users can set the alarm time in the format (Hr:Min) using the Entry widget.

Sound Notification:
• The Pygame mixer is used for playing an alarm sound (Clock Sound .mp3) when the
specified alarm time is reached.

Start Alarm Button:


• A button labeled "Start alarm" triggers the alarm functionality when clicked.
Image Display:
• An Image (al.png) is displayed in the GUI panel, enhancing the
visual appeal of the application.

Error Handling:
• The code includes basic error handling, such as checking if the
entered time is valid.

Message Box Display:


• A message box is used to display an informational message when
the alarm time is reached. The user can click "ok" to stop the
alarm.
OUTPUT
Conclusion
Key Points:
• Explored the significance of time management through our
alarm clock project.
• Demonstrated effortless alarm setting and timely
notifications.
• Also created a pop up message box for setting Label.

Challenges:
• Overcame challenges, deepening understanding of Python,
threading, and GUI.
THANK
YOU

You might also like