Hi! Just so you know, you can click on the $ up there to support XKCDB. (This box will go away after you vote once.)

#10557 (+3/-0)
< multiplexd> i have a scripting problem: given an IP subnet and subnet mask, i wish to generate a list of IP addresses in that subnet
< CO2> multiplexd: 0.0.0.0 till 255.255.255.255 hth
< jamesl> well 255.255.255.255 is the broadcast address
< grawity> multiplexd: what's the purpose of such a list
< grawity> multiplexd: but, python https://i.imgur.com/bUHQphU.png
< jamesl> multiplexd: your list follows:
< jamesl> 0.0.0.0
< jamesl> 0.0.0.1
< jamesl> 0.0.0.2
< grawity> jamesl: now, don't DDoS the channel