(self)
return l
returns a list of all ipv4 addresses from all interfaces on this host
returns a list of all ipv4 addresses from all interfaces on this host
returns a list of all ipv4 addresses from all interfaces on this host
def getIPv4Addresses(self):
        """
        returns a list of all ipv4 addresses from all interfaces on this host
        """
        l = [interface.ipv4['address'] for name, interface in self._interfaces.items()]
        l.sort()
        return l
def getIPv4Addresses ( self ) : l = [ interface . ipv4 [ 'address' ] for name , interface in self . _interfaces . items ( ) ] l . sort ( ) return l