How do I retrieve the temperature of my CPU using Python? (Assuming I\'m on Linux)
Depending on your Linux distro, you may find a file under /proc that contains this information. For example, this page suggests /proc/acpi/thermal_zone/THM/temperature.
/proc
/proc/acpi/thermal_zone/THM/temperature