In order to expand a
#python #ipaddress #ipv4 #IPv4Network
CIDR
in python you can use ipaddress
module as below:import ipaddress
available_ips = [str(ip) for ip in ipaddress.IPv4Network('192.0.2.0/28')]
#python #ipaddress #ipv4 #IPv4Network