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: https://youtu.be/XvDZLjaCJuw?t=800 (talking calculator from 1982)
python  io  pipes  pipelining  standardinput  stdin  solution 
may 2019 by kme

Copy this bookmark:





to read