To get all the process list im using Windows Management Instrumentation (WMI),and code is :
import wmi
c = wmi.WMI ()
for process in c.Win32_Process ():
print process.ProcessId, process.Name
But my question is how could i find the process which utilizes maximum CPU resource ?