fork download
  1. import socket
  2.  
  3. print(socket.gethostbyname('www.google.com'))
Runtime error #stdin #stdout #stderr 0.03s 34824KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "./prog.py", line 3, in <module>
socket.gaierror: [Errno -3] Temporary failure in name resolution