Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 192.168.3.65
- 192.168.3.66
- 192.168.3.67
- ...
- ...
- 192.168.3.94
- >>> for x in ipaddress.ip_network('192.168.3.78/27'):
- print(x)
- Traceback (most recent call last):
- File "<pyshell#31>", line 1, in <module>
- for x in ipaddress.ip_network('192.168.3.78/27'):
- File "C:UsersAdminAppDataLocalProgramsPythonPython37-32libipaddress.py", line 74, in ip_network
- return IPv4Network(address, strict)
- File "C:UsersAdminAppDataLocalProgramsPythonPython37-32libipaddress.py", line 1536, in __init__
- raise ValueError('%s has host bits set' % self)
- ValueError: 192.168.3.78/27 has host bits set
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement