s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect(('localhost', 9988))
s.sendall('My parameters that I want to share with the server')
s.close()
How to get a python script to listen for inputs from another script