1 Star 4 Fork 0

davidhu / 基于YOLOv5+PyQt5+Python的AI视觉检测系统

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
ping.py 293 Bytes
一键复制 编辑 原始数据 按行查看 历史
import os
def detect(ip):
ret = os.system("ping "+ip+" -n 1")
if ret == 0:
print("ip可以ping通!")
return True
else:
print("ip不可以ping通!")
return False
if detect('10.69.2.99') == True:
print("ip通")
else:
print("ip不通")
Python
1
https://gitee.com/davidhu1/AI_Vision_DetectSys.git
git@gitee.com:davidhu1/AI_Vision_DetectSys.git
davidhu1
AI_Vision_DetectSys
基于YOLOv5+PyQt5+Python的AI视觉检测系统
master

搜索帮助