Python: Reminder Alerts program
This program will give you Attention message for every time interval you set in time.sleep(time_in_seconds)
import os
import time
from plyer import
notification
if __name__ == "__main__":
while
True:
notification.notify(title
= "ATTENTION!!!",
message =
"Take a break! It has been an hour!",
timeout =
10)
time.sleep(3600)
Output:
Comments
Post a Comment