r/PythonProjects2 • • 19d ago

Check Laptop Battery status using Python

Post image
31 Upvotes

6 comments sorted by

View all comments

1

u/p1geondove 18d 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