python-win32  

[python-win32] How to enumerate a WMI object to discover its properties?

python
Wed, 03 Mar 2010 22:40:22 -0800

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
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32