windows 7 x64 shutdown

Irmen de Jong irmen.NOSPAM at
Mon Apr 25 19:01:57 EDT 2011

On 25-4-2011 23:15, rjmccorkle wrote:
> does anyone know a solution to shutting down windows 7 x64 via python
> script?  the win32 obviously doesn't work... something similar?
(a recipe on activestate, First hit on Google for 'python ctypes shutdown')

Works fine on my win7 x64 system. I don't think that using 32-bits API will stop you
from doing stuff like this.


More information about the Python-list mailing list