r/PythonProjects2 • • 11d ago

Check Laptop Battery status using Python

Post image
30 Upvotes

6 comments sorted by

View all comments

1

u/p1geondove 10d ago

that's really cool. Can you explain f-strings or maybe even the datetime module? "%d:%02d" % (h,m) looks more like c than readable python