安装netaddr你需要安装这个库,使用pip非常简单:pipinstallnetaddr核心概念netaddr主要处理三种核心对象:IP地址(IPAddress):代表一个单独的IPv4或IPv6地址,168.1...