Severity: Warning
Message: fopen(/tmp/ci_sessionho4gdvco1ucab2ejespel89g8f6m5vr7): failed to open stream: No space left on device
Filename: drivers/Session_files_driver.php
Line Number: 176
Backtrace:
File: /var/www/html/application/controllers/Project.php
Line: 10
Function: __construct
File: /var/www/html/index.php
Line: 311
Function: require_once
Severity: Warning
Message: session_start(): Failed to read session data: user (path: /tmp)
Filename: Session/Session.php
Line Number: 143
Backtrace:
File: /var/www/html/application/controllers/Project.php
Line: 10
Function: __construct
File: /var/www/html/index.php
Line: 311
Function: require_once
By D.Sowjanya
ALARM CLOCK WITH PYTHON In this project, we will create an alarm clock in Python. We will be using the Datetime module, time module, and the playsound module to create this project.
ALARM CLOCK WITH PYTHON
In this project, we will create an alarm clock in Python. We will be using the Datetime module, time module, and the playsound module to create this project. We can pip install the playsound module to play any music file while the alarm is ringing. So before writing the program download any alarm tune of your choice to play it. The Datetime module is used to manipulate the time and date. Import the playsound module, Datetime module, and time module from the Python library. By using the time module to extract the current hour and minute we need to use the attributes tm_hour and tm_min.
Submitted by D.Sowjanya (Sowjanya1412)
Download packets of source code on Coders Packet
Comments