[pywin32-checkins] pywin32/com/win32com/test testWMI.py,NONE,1.1
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
|
From: <mha...@us...> - 2003-07-03 03:45:23
|
Update of /cvsroot/pywin32/pywin32/com/win32com/test
In directory sc8-pr-cvs1:/tmp/cvs-serv28424
Added Files:
testWMI.py
Log Message:
Add WMI tests (which shows failing MkParseDisplayName)
--- NEW FILE: testWMI.py ---
from win32com.client import GetObject
def test():
cses = GetObject("WinMgMts:").InstancesOf("Win32_Process")
for cs in cses:
print cs.Properties_("Caption").Value
if __name__=='__main__':
test()
|