So I would like to make a python program that displays the computers cpu usage in real time. So far I am using the psutil module to find cpu usage but I'm not sure how to represent the output visualy.
import psutil
x=(2)
while x>0:
cpu = psutil.cpu_percent(interval=1, percpu=False)
print(cpu)
I was wondering if anyone had any ideas on how i could display the results.