win32com (VBScript to Python) problem
Tim Howarth
tim at worthy.demon.co.uk
Tue Nov 25 08:23:01 EST 2003
In message <mailman.1066.1069764880.702.python-list at python.org>
Tim Golden <tim.golden at viacom-outdoor.co.uk> wrote:
> http://tgolden.sc.sabren.com/python/wmi_cookbook.html
> (search for "Reboot a remote machine" -- I really must put anchors on that
> page)
>
> If you follow that example, all you need to change is the final line
> to read something like:
>
> os.Win32Shutdown (Flags=12)
Thanks to Tim, that works, though I still wonder why I can't do it
my original way.
--
___
|im ---- ARM Powered ----
More information about the Python-list
mailing list