Welcome to BinaryWaves.org! A blog with a lot of networking, coding and definitely some lessons learned. Hopefully I will post something that might help or show you what not to do!
# Yay Python
import netaddr
for ip in netaddr.IPNetwork("192.168.0.0/24"):
    print(ip)
print("netaddr rocks")