Sergey wrote:
> import win32com.client
>
> loc = win32com.client.Dispatch("WbemScripting.SWbemLocator")
> svc = loc.ConnectServer("srv", "root/cimv2", "[EMAIL PROTECTED]", "******")
> sys = svc.get("Win32_Process")
> sys.create("notepad.exe")
>
> =>
>
> Traceback (most recent call last):
> File "remote.py", line 6, in ?
> sys.create("notepad.exe")
> TypeError: 'int' object is not callable
>
>
I have no idea what are you doing in your code or if the following has
something to do with your problem, but sometimes it good to know, that
Windows requires Unicode strings as parameter and giving full path file
names is always better than to rely on some default mechanisms.
Claudio
--
http://mail.python.org/mailman/listinfo/python-list