simple implementation of python socket for creating server/client based programs supporting threading.
pip3 install simplesocket
in Server script import:
from simplesocket import SimpleServer
and in Client script import:
from simplesocket import SimpleClient