Below I have the following code that is supposed to get the CPU temperature.
import wmi
w = wmi.WMI()
print w.Win32_TemperatureProbe()[0].CurrentReading
When I run it I get the following warning however:
Traceback (most recent call last):
File "<string>", line 244, in run_nodebug
File "<module1>", line 3, in <module>
IndexError: list index out of range
This is in windows 7 , btw.