Skip to content

Commit d455077

Browse files
committed
Added Water Notification
1 parent 9e58651 commit d455077

File tree

1 file changed

+17
-0
lines changed
  • Mini Project/Waternotification

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import time
2+
from plyer import notification
3+
4+
if __name__ == "__main__":
5+
while True:
6+
notification.notify(
7+
8+
title = "Please Drink 1 Glass Of Water ",
9+
message = " To lead a healthy life we should drink 3-4 Litres of water everyday to make our body fit",
10+
app_icon= r"C:\Users\Robin Singh\PycharmProjects\untitled\venv\Sorting\Projects\Waternotification\icon.ico",
11+
timeout = 10
12+
13+
)
14+
15+
time.sleep(60*60*2)
16+
17+

0 commit comments

Comments
 (0)