1
回答
为啥只要在python中代码中ping某个地址就死机?

import subprocess as sp 

ip = '61.139.2.69'  
status, result = sp.getstatusoutput("ping " + ip + " -n 1")
 

<无标签>
举报
LoadingBob
发帖于6天前 1回/64阅
顶部