0

How can I access my computer's system variables like battery levels, or battery-life estimates from python? - I'm not sure "system varaiable" is the exact term). I'm using Windows 7.

Keychain1
  • 124
  • 5

1 Answers1

0

You want to access environment variables, Then use Python os package. or else, you want to Access Battery Status using python in windows. Python Bettery status

Community
  • 1
  • 1
dhana
  • 6,487
  • 4
  • 40
  • 63
  • this do not address OP question (first part being about environment, not battery status, second is for ubuntu, not win) – alko Dec 05 '13 at 07:29
  • Sorry @alko you are correct. I have edited my answer. – dhana Dec 05 '13 at 09:04