In message <bpvho4$kon$1@...>
"Michel Claveau" <No.Spam.mc@...> wrote:
> import win32com.client
> WMIService =
> win32com.client.GetObject(r"winmgmts:{impersonationLevel=impersonate,(Shutdo
> wn)}!\\CPU01\root\cimv2")
>
> objs = WMIService.ExecQuery(r"Select * from Win32_OperatingSystem")
> for obj in objs:
> obj.Reboot()
This gives me the same error 'int' is not callable.
Maybe it's something to do with late/early binding ??
What version of Python/win32all have you used this on ?
--
___
|im ---- ARM Powered ----
--
http://mail.python.org/mailman/listinfo/python-list