PyDocs

Nav

Internet Protocols and Support

IPv4Interface.with_prefixlen

A string representation of the interface with the mask in prefix notation.
1 Example
>>> interface = IPv4Interface('192.0.2.5/24')
>>> interface.with_prefixlen
'192.0.2.5/24'
from the Python docs
See Also
No see-alsos for ipaddress/IPv4Interface.with_prefixlen
0 Notes
No notes for IPv4Interface.with_prefixlen