Python3之查看windows下全部進程並殺死指定進程

import psutil pids = psutil.pids() for pid in pids: p = psutil.Process(pid) # print('pid-%s,pname-%s' % (pid, p.name())) if p.name() == 'dllhost.exe': cmd = 'ta
相關文章
相關標籤/搜索