SHARE
TWEET

Untitled

a guest Feb 20th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. startip = ipaddress.IPv4Address('63.223.64.0')
  2. endip = ipaddress.IPv4Address('63.223.127.255')
  3. out=[ipaddr for ipaddr in ipaddress.summarize_address_range(startip, endip)]
  4.  
  5. [IPv4Network('63.223.64.0/18')]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top