[python-win32] Why Win32_ prefixed classed in wmi didn't work?

thunder thunder54007 thunder54007 at gmail.com
Thu Jan 24 10:01:59 CET 2008


Hello, here is the problem.
code like this in pythonwin:

>>> import wmi
>>> c = wmi.WMI()
>>> print c.Win32_NetWorkAdapter.AdapterTypeID
None
>>> print c.Win32_NetWorkAdapter.Availability
None
>>> print c.Win32_NetWorkAdapter.Caption
None
>>> print c.Win32_NetWorkAdapter.AdapterType
None <python-win32 at python.org>

this same thing happed for class Win32_Keyboard, it seems that there is not
value for these attributes, even the "Caption" attribute. why?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20080124/ca63e6aa/attachment.htm 


More information about the python-win32 mailing list