By Bhavy Bhatia
By using Python we are creating a Desktop Battery Notification app that will alert about battery percentage
Notifications help us to remember things easily.
To make Desktop Notification App using python we need to install certain packages
1) pip install psutil
2) pip install plyer
After that, we need to import modules.
import psutil
from plyer import notifications
import time
After importing modules we need to specify the parameters (like tittles and message)
we are done with the code, save it and run the python script.
Here is the output of the code.
Submitted by Bhavy Bhatia (bhvbhatia007)
Download packets of source code on Coders Packet
Comments