import socket
s = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
s.connect("../bot-base.sock")
while True:
s.send(input(">>> ").encode('utf-8'))
s.close()