for line in os.popen('tasklist').readlines():
... print line.decode('gbk')
...
映像名称 PID 会话名 会话# 内存使用
========================= ======== ================ =========== ============
System Idle Process 0 Services 0 24 K
System 4 Services 0 2,112 K
smss.exe 492 Services 0 552 K
csrss.exe 568 Services 0 4,028 K
wininit.exe 632 Services 0 3,176 K
csrss.exe 648 Console 1 20,068 K
services.exe 684 Services 0 5,020 K
lsass.exe 700 Services 0 6,400 K
..............