This python script is used to get cpu temperature
- psutil (process and system utilities) is a cross-platform library.
- It is used for retrieving information on running processes and system utilization (CPU, memory, disks, network, sensors) in Python.
- Using psutil library's inbuilt function "sensors_temperatures()" to measure temperature of CPU
- Clone the repo to your machine
- Head over to the required folder (Cpu Temperature folder)
- Install psutil using
pip install psutil
- Run the script
python temp.py
This does not work on a windows machine