6 lines
90 B
Python
6 lines
90 B
Python
import ipaddress
|
|
|
|
|
|
network = "192.168.2.0"
|
|
res = ipaddress.ip_network(network)
|
|
print(res)
|