__author__ = 'qgw'

import socket

HOST = 'localhost'  # The remote host
PORT = 8001  # The same port as used by the server
client = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
client.connect((HOST, PORT))
while True:
    msg = bytes(input(">>:"), encoding="utf8")
    client.sendall(msg)
    data = client.recv(1024)
    # print(data)

    print('Received', repr(data))
client.close()
5946cc7fd08d438bdccdbb6b3b12b6d41184cf7a
<mask token>

<mask token>
client.connect((HOST, PORT))
while True:
    msg = bytes(input('>>:'), encoding='utf8')
    client.sendall(msg)
    data = client.recv(1024)
    print('Received', repr(data))
client.close()

__author__ = 'qgw'
<mask token>
HOST = 'localhost'
PORT = 8001
client = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
client.connect((HOST, PORT))
while True:
    msg = bytes(input('>>:'), encoding='utf8')
    client.sendall(msg)
    data = client.recv(1024)
    print('Received', repr(data))
client.close()

__author__ = 'qgw'
import socket
HOST = 'localhost'
PORT = 8001
client = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
client.connect((HOST, PORT))
while True:
    msg = bytes(input('>>:'), encoding='utf8')
    client.sendall(msg)
    data = client.recv(1024)
    print('Received', repr(data))
client.close()

__author__ = 'qgw'

import socket

HOST = 'localhost'  # The remote host
PORT = 8001  # The same port as used by the server
client = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
client.connect((HOST, PORT))
while True:
    msg = bytes(input(">>:"), encoding="utf8")
    client.sendall(msg)
    data = client.recv(1024)
    # print(data)

    print('Received', repr(data))
client.close()