import socket
myhost=socket.gethostname()

addr = socket.gethostbyname(socket.gethostname())

addr = socket.gethostbyname(socket.gethostname())
socket.gethostbyaddr(addr)

print("Direccion IP: " +addr)
