How to reboot a Windows XP64 machine on Python Script? This machine has no shutdown or restart executable files available.
found him
win32api.InitiateSystemShutdown ("localhost", "Maintenance Reboot", 60, 1, 1)
You can use the win32api module and call WinApi functions. Recipe at code.activestate.com