Getting CPU temperature using Python?

后端 未结 10 1180
失恋的感觉
失恋的感觉 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:31

    Sysmon works nice. Nicely made, it does much more than measure CPU temperature. It is a command line program, and logs all the data it measured to a file. Also, it is open-source and written in python 2.7.

    Sysmon: https://github.com/calthecoder/sysmon-1.0.1

提交回复
热议问题