recentpopularlog in

kme : pipelining   2

Python - simple reading lines from a pipe - Stack Overflow
This is sufficient:
<code class="language-python">line = sys.stdin.readline()</code>

Use 'python's '-u' command line option or sys.stdout.flush() if you have buffering problems; stdout is always buffered.

See also: (talking calculator from 1982)
python  io  pipes  pipelining  standardinput  stdin  solution 
may 2019 by kme

Copy this bookmark:

to read