8 lines
160 B
Python
8 lines
160 B
Python
|
import socket
|
||
|
|
||
|
s = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
|
||
|
s.connect("/tmp/bot.sock")
|
||
|
while True:
|
||
|
s.send(input(">>> ").encode('utf-8'))
|
||
|
s.close()
|