platypush/backend/__init__.py
def _get_ip() -> str:
        """
        Get the IP address of the machine.
        """
        s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
        s.connect(('8.8.8.8', 80))
        addr = s.getsockname()[0]
        s.close()
        return addr

        Get the IP address of the machine.
        
Get the IP address of the machine.
Get the IP address of the machine .
def _get_ip() -> str:
        s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
        s.connect(('8.8.8.8', 80))
        addr = s.getsockname()[0]
        s.close()
        return addr
def _get_ip ( ) -> str : s = socket . socket ( socket . AF_INET , socket . SOCK_DGRAM ) s . connect ( ( '8.8.8.8' , 80 ) ) addr = s . getsockname ( ) [ 0 ] s . close ( ) return addr
Get the IP address of the machine.
Get the IP address of the machine .
"""
        Get the IP address of the machine.
        """