a guest Feb 20th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- startip = ipaddress.IPv4Address('220.127.116.11')
- endip = ipaddress.IPv4Address('18.104.22.168')
- out=[ipaddr for ipaddr in ipaddress.summarize_address_range(startip, endip)]
RAW Paste Data