FT, > Is there a way to read the battery level using Python?
Check out the following code snippet: Get info on power/battery status http://nullege.com/codes/show/[email protected]@jaraco@[email protected]/14/ctypes.wintypes.BOOL This code snippet requires the following 3rd party packages: 1. Mark Hammond's pywin32 (comes bundled with ActiveState versions of Python) https://sourceforge.net/projects/pywin32/ 2. Tim Golden's wmi (requires pywin32) http://timgolden.me.uk/python/wmi.html There's also a Python mailing list dedicated to Windows API questions: http://mail.python.org/mailman/listinfo/python-win32 Good luck! Malcolm _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
