[python-win32] How to enumerate a WMI object to discover its properties?
python at bdurham.com
python at bdurham.com
Thu Mar 4 07:38:21 CET 2010
Is there a way to enumerate a WMI object's properties to discover
what they are vs. having to explictly reference properties by
name?
>From reading the wmi.py source code I understand that enumerating
Win32_ComputerSystem() is not a good idea. But, using that as an
example anyway, how would I get a list of WMI properties like
.TotalPhysicalMemory without having to know each property ahead
of time.
Thank you,
Malcolm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20100304/b77e5ff6/attachment.html>
More information about the python-win32
mailing list