Hi Guys, Long time no see u, so today i manage to change my blog main language to english in order to get more viewers (i hope so) so this is one of my post , the other post will updated soon as possible, as long i have time to do this during quarantine, so here we go
show the battery progress with Python 3
Note : if youre using linux, check the python version by typing python-V (big v) to check the version), if return python 3.x you are ready to go, otherwise use python3 instead
all we need is a library called psutil, you can simply install it by typing :
Install the stuff:
pip install psutil
if not working perhaps :
pip3 install psutil
will help
okay we getting started.
i will trying to explain every line below
save under battery.py and call the command
Tested On : Arch Linux (Python 3.8)
Read more
show the battery progress with Python 3
Note : if youre using linux, check the python version by typing python-V (big v) to check the version), if return python 3.x you are ready to go, otherwise use python3 instead
all we need is a library called psutil, you can simply install it by typing :
pip install psutil
if not working perhaps :
pip3 install psutil
will help
okay we getting started.
i will trying to explain every line below
save under battery.py and call the command
Tested On : Arch Linux (Python 3.8)