On 20/06/2012 06:14, prashant padaganur wrote: > Hi, > > I am new to WMI. > > I have installed WMI for python and pywin32 extensions to be able to use > win32 apis from my python scripts. While I can get all the info from > other clasees like Win32_Battery, Win32_Processor I am having tough time > with Win32_Tpm class. > > I want to use Win32_Tpm module in python to play around with various tpm > features, but all my references to win32_tpm are returning null.
What do you get if you do? <code> import wmi print wmi.WMI ().Win32_Tpm </code> On my Win7 machine, it's not even present. I know nothing about the technology it's proxying so it may well be that the underlying stuff isn't there to be represented. TJG _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32