What module can I use to find out the temperature/load of the CPU and video card in Python?

I found answers on the Internet, but the modules either had problems with Windows 10 (On which I work), or simply output the wrong information that I need.

Suggest something suitable.

Author: insolor, 2020-04-26

2 answers

import psutil

print(psutil.cpu_percent())  # windows
print(psutil.sensors_temperatures())  # только для Linux
 0
Author: shvaiba, 2020-04-26 21:48:13

For example, using the pyspectator module https://pypi.org/project/pyspectator/

Or using psutil
https://pypi.org/project/psutil/ .

 0
Author: passant, 2020-04-26 21:54:43