How can I perform a ping or traceroute using native python?

后端 未结 7 1676
走了就别回头了
走了就别回头了 2021-01-05 14:56

I would like to be able to perform a ping and traceroute from within Python without having to execute the corresponding shell commands so I\'d prefer a native python solutio

相关标签:
7条回答
  • 2021-01-05 16:00

    you might want to check out the scapy package. it's the swiss army knife of network tools for python.

    0 讨论(0)
提交回复
热议问题