"Nick Hird" <[email protected]> wrote
I am running Windows XP.
On Wed, Oct 28, 2009 at 4:15 PM, Nick Hird <[email protected]> wrote:
Is there a way in python to tell if the power source for a laptop is
ac or battery?
Search Microsoft Developer site (MSDN) for
GetSystemPowerStatus
which is the function that tests for battery or AC among other things.
HTH,
Alan G
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor