title: Python STDIN readline blocks
body: <p>I have a script that writes to stdout like this:</p>
  
  <pre><code># Send.py
  import time
  
  while(1):
      print "hello"
      time.sleep(0.1)
  </code></pre>
  
  <p>Now I have another script that needs to read it as such:</p>
  
  <pre><code># Listen.py
  while(1) :
  
      print "reading.."
      data = sys.stdin.read()
      print data
  </code></pre>
  
  <hr>
  
  <pre><code>python Send.py | python listen.py
  </code></pre>
  
  <p>Unfortunately, this just stops on reading and nothing is every printed. Why is that?</p>