摘要: 获取局域网所在的网段 with os.popen("ipconfig /all") as res: for line in res: line = line.strip() if line.startswith("IPv4"): ipv4 = map(int, re.findall("(\d+)\. 阅读全文
posted @ 2022-11-24 22:41 麦哥编程 阅读(949) 评论(0) 推荐(0) 编辑