This Python code creates a drink water reminder notification that pops up every hour using the Plyer library. It notifies the user with the title "Drink Water Now!!" and message "Please Take a Break Then Continue Your Work." and dismisses after 10 seconds. The code uses a while loop to repeat the notification every hour by sleeping for 60 minutes between each iteration.
This Python code creates a drink water reminder notification that pops up every hour using the Plyer library. It notifies the user with the title "Drink Water Now!!" and message "Please Take a Break Then Continue Your Work." and dismisses after 10 seconds. The code uses a while loop to repeat the notification every hour by sleeping for 60 minutes between each iteration.
This Python code creates a drink water reminder notification that pops up every hour using the Plyer library. It notifies the user with the title "Drink Water Now!!" and message "Please Take a Break Then Continue Your Work." and dismisses after 10 seconds. The code uses a while loop to repeat the notification every hour by sleeping for 60 minutes between each iteration.
2.) AMAN KUMAR SINGH (21BCS2728) 3.) ANJALI KARGWAL (21BCS1904) 4.) AMIT KUMAR GUPTA (21BCS1717) import time from plyer import notification if _name_ == '_main_': while True: notification.notify( title = "**Drink Water Now!!", message ="Please Take a Break Then Continue Your Work.", timeout= 10 ) time.sleep(60*60)