how can I find the addresses in python if I have given any IP s range dynamically. I want the range of address from one to another ip and also count the ports which are connected.If the n number of IP s connected
To get all the ips combinations you can try to use the following code:
import itertools
ips = itertools.product([193], [55,56], xrange(0,256), xrange(1, 256))
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.