I\'m looking for an automatize way of doing Windows Power Management functions: - Reboot - Shutdown - Hibernate - Sleep - Wakeup
Is there a Python module to cover th
See win32api.ExitWindowsEx() ActiveState documentation.
for flags: http://msdn.microsoft.com/en-us/library/aa376868%28v=vs.85%29.aspx
for hybernate/sleep:
http://msdn.microsoft.com/en-us/library/aa373201%28v=vs.85%29.aspx
to use this one you need to usectypes
since looks like pywin32
does not implement it.
Wakeup? I doubt you can execute code while sleeping. :)