#!/usr/bin/env python import psutil usage = psutil.cpu_percent(interval=1) print(f" {usage}%")