#查看ip
print (os.popen('ipconfig').read().decode('cp936'))
#查看 进程print (os.popen('tasklist /FI "IMAGENAME eq qq.exe').read().decode('cp936'))#kill 进程os.system('TASKKILL /F /IM qq.exe')