Getting CPU temperature using Python?

后端 未结 10 1201
失恋的感觉
失恋的感觉 2020-12-03 05:08

How do I retrieve the temperature of my CPU using Python? (Assuming I\'m on Linux)

10条回答
  •  广开言路
    2020-12-03 05:37

    As an alternative you can install the lm-sensors package, then install PySensors (a python binding for libsensors).

提交回复
热议问题