import IPy >>>'192.168.1.100' in IPy.IP('192.168.1.0/24') is True >>>'192.168.1.0/24' in IPy.IP('192.168.0.0/16') is True >>>'192.168.1.0/24' in IPy.IP('192.168.0.0-192.168.8.255') is True
参考链接:
import IPy >>>'192.168.1.100' in IPy.IP('192.168.1.0/24') is True >>>'192.168.1.0/24' in IPy.IP('192.168.0.0/16') is True >>>'192.168.1.0/24' in IPy.IP('192.168.0.0-192.168.8.255') is True
参考链接:
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。