The main aim of this project is to remind the user to drink water after every 40mins.
The purpose of this script is to run in the background and remind the user to drink water after every 40minutes.
During this pandemic we developers keep on sitting for hours on our laptop/desktop and most often than not we forget to drink water. Therefore to solve this problem this script is created, which when run through the terminal works in the background and remind the user to drink water after every 40 minutes.
- We haved used 'time' module to run the script after a particular time period that acts like a scheduler.
- We haved also installed and used the 'plyer' module to get the notification manager and then notify the user.
- Just run the script through the terminal
- You should have 'plyer' module in your system. If you don't have just install it through the terminal using the following command
pip install plyer
- You also need to import the 'time' module to run this script.
- Finally to run this script in the background of your computer, open the terminal and type-in the below mentioned command
pythonw.exe \drink_water.py
- Open the python script code in any of your ide.
- Follow the above mentioned Setup Instructions.
- Debug and Run your code
Name of author : Dhruv Mehta
If you want to stop the script from running in the background then just open the task manager and close the python module in it.