Zero's Blog - Python 快速拆子网 的评论 https://l2dy.sourceforge.io/2021/01/09/python-subnet.html 两行搞定import ipaddresslist(map(str, ipaddress.ip_network('10.0.0.0/24').subnets(new_prefi...