impossible to reboot OS in python?

Chris Liechti cliechti at gmx.net
Fri Feb 15 19:55:12 EST 2002


"Kris Botha" <3dsphere at home.com> wrote in
news:a4k9as$ak8$1 at nntp.itservices.ubc.ca: 

> I heard it was impossible to induce a reboot in python as the os 
> module does not cater for that. Is this true?
...
> Does it depend on the os installed?

yes, you've got an answer for linux on win32 you can call

win32api.ExitWindows from the win32all extensions

-- 
Chris <cliechti at gmx.net>




More information about the Python-list mailing list