Skip to content

Instantly share code, notes, and snippets.

View best-tech's full-sized avatar

Denis Kharchenko best-tech

View GitHub Profile
@best-tech
best-tech / @findgbot
Last active January 23, 2021 21:13
Поиск в телеграф telegra.ph
Бот:
http://t.me/findgbot
Инструкция:
http://telegra.ph/Poisk-v-telegraph-03-24
Поиск в telegra.ph
@findgbot
March 24, 2018
@best-tech
best-tech / client.py
Created June 30, 2018 09:01 — forked from micktwomey/client.py
python multiprocessing socket server example
import socket
if __name__ == "__main__":
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.connect(("localhost", 9000))
data = "some data"
sock.sendall(data)
result = sock.recv(1024)
print result
sock.close()