PyDocs

Nav

Internet Protocols and Support

IPv4Interface.with_hostmask

A string representation of the interface with the network as a host mask.
1 Example
>>> interface = IPv4Interface('192.0.2.5/24')
>>> interface.with_hostmask
'192.0.2.5/0.0.0.255'
from the Python docs
See Also
No see-alsos for ipaddress/IPv4Interface.with_hostmask
0 Notes
No notes for IPv4Interface.with_hostmask