0

Hi,
i download wmi from this:
http://timgolden.me.uk/python/wmi/index.html (windows version)

import wmi
c = wmi.WMI ()

for process in c.Win32_Process ():
  print process.ProcessId, process.Name

And run this script in Python 2.6 IDLE
Show this error:
Traceback (most recent call last):
File "C:\Users\lola\Desktop\test.py", line 1, in <module>
import wmi
File "C:\Python26\lib\site-packages\wmi.py", line 88, in <module>
from win32com.client import GetObject, Dispatch
ImportError: No module named win32com.client

What's wrong?

2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by Lolalola
0

thanks a lot

By the way, how show process in linux?

Edited by Lolalola: n/a

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.