Determine our own IP adress.
    This seems to be far more complicated than you would think:

def ipaddress():
    '''
    Determine our own IP adress.
    This seems to be far more complicated than you would think:
    '''
    try:
        import socket
        s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
        s.connect(("gmail.com", 80))
        result = s.getsockname()[0]
        s.close()
        return result
    except Exception:
        return ""