How to create battery percentage notifier using PYTHON?

How to create battery percentage notifier using PYTHON?

More to explore

Based on this image's title: “How to create battery percentage notifier using PYTHON?