zulhaq345
Badges: 8
Rep:
? You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#1
Report Thread starter 2 years ago
#1
I need help with this task please
0
reply
Hazelly
Badges: 21
Rep:
? You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#2
Report 2 years ago
#2
(Original post by zulhaq345)
I need help with this task please
What is the task?
0
reply
zulhaq345
Badges: 8
Rep:
? You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#3
Report Thread starter 2 years ago
#3
Name:  question 1.PNG
Views: 22
Size:  13.5 KB
alongside it needs to meet these
Is there a functional way to schedule an ‘alarm’
Is there a functional way to cancel an ‘alarm’
Does the alarm code effectively use time and date data
Are alarms that have gone off get recorded in notifications
Can the alarm be easily repeated or set as a one off - 5 marks
0
reply
zulhaq345
Badges: 8
Rep:
? You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#4
Report Thread starter 2 years ago
#4
it has to be in python, could you help me please
Last edited by zulhaq345; 2 years ago
0
reply
winterscoming
Badges: 19
Rep:
? You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#5
Report 2 years ago
#5
There's some good examples of using python's sched module here: https://pymotw.com/3/sched/ - try pasting some of those into your code editor and run the programs to get a feel for how the scheduler works, then try experimenting with 'enter' and 'enterabs'. .

(One very useful experiment to try would be to see what happens when you allow enter/enterabs to schedule a function that re-adds itself to the scheduler when it runs.)

The time library is a bit clunky, but also fairly simple/primitive as well - it works using the concept of 'seconds elapsed since the UNIX Epoch (01-01-1970)
https://docs.python.org/3/library/time.html or https://pymotw.com/3/time/
0
reply
X

Quick Reply

Attached files
Write a reply...
Reply
new posts
Back
to top
Latest
My Feed

See more of what you like on
The Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

Personalise

Y13's - If you haven't confirmed your firm and insurance choices yet, why is that?

I am waiting until the deadline in case anything in my life changes (18)
21.18%
I am waiting until the deadline in case something else changes (e.g. exams/pandemic related concerns) (11)
12.94%
I am waiting until I can see the unis in person (5)
5.88%
I still have more questions before I make my decision (15)
17.65%
No reason, just haven't entered it yet (17)
20%
Something else (let us know in the thread!) (19)
22.35%

Watched Threads

View All