pipe-io-server/clients/python/example.py
2019-04-12 15:49:27 +02:00

8 lines
191 B
Python

from pipe_io import PipeIO
if __name__ == '__main__':
with PipeIO('in', 'out') as pipeio:
pipeio.reader.message_handler = pipeio.writer.send_message
pipeio.reader.run()