The Student Room Group

Programmming help

I need help coding this please.
Alarms- The program should enable the user to schedule and cancel alarms. The alarm should notify the user when the relevant time is reached. Alarm functionality should be defined using the sched and time modules.
Notifications- A key part of an alarm is notifying the user to an event. The smart alarm will use two types of notifications. For alarm notification announcements we will use text-to-speech voice announcements using the pyttsx3 module. For less immediate notifications, silent notifications will be tracked through a personal notification queue.
Reply 1
And it needs to meet these:
Does the system record notifications as they occur, for example in a list
Can the system use text-to-speech notifications to announce alarm notifications
Does the notification system record relevant information at the time the notification was triggered, such as time and name of the event
Does the system have a categorisation system for recording notifications, such as a category for alarms and a category for new news stories
Reply 2
I`ve done the alarm but I need help with the notifications part please. This is how much ive done for the notifications part:
import pyttsx3
def tts_request(notification= "Alarm raised/cancelled"):
engine=pyttsx3.init("Alarm is being set")
engine.say(notification)
engine.runandWait
return "Hello your alarm has been raised"notifications = []
for alarms in notifications:
Reply 3
Please help

Quick Reply

Latest

Trending

Trending