Python do localizador de endereço IP Python

import socket
anything = socket.gethostbyname('google.com')
print(anything)
Stormy Stag