import socket
request = b"GET / HTTP/1.1\nHost: www.google.com\n\n"
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect(("google.com", 80))
s.send(request)
result = s.recv(10000)
while (len(result) > 0):
    print(result)