Using Python, how can information such as CPU usage, memory usage (free, used, etc), process count, etc be returned in a generic manner so that the same code can be run on L
There's the PSI (Python System Information) project with that aim, but they don't cover Windows yet.
You can probably use PSI and recpies like this one and create a basic library that meets your needs.