title: Realtime output from a shell command in Jupyter notebook
body: <p>I'm telling jupyter to execute a python script:</p>
  
  <pre><code>!python build_database.py
  </code></pre>
  
  <p>When executed from the terminal, the python script prints the progress during execution. However, in the jupyter notebook, I get all output printed as a list of strings, AFTER the execution.
  Is there a way to see the output live?</p>