python引用IP工具类from IPy import IP dns_ip_int = IP(dns_ip).int()