(hostname)
return socket.gethostbyname(hostname)
return the IP address for a hostname
return the IP address for a hostname
return the IP address for a hostname
def getipbyhost(hostname):
    """ return the IP address for a hostname
    """
    return socket.gethostbyname(hostname)
def getipbyhost ( hostname ) : return socket . gethostbyname ( hostname )