title: View real-time console on a web page with Flask python
body: <p>I am trying to create a web application with Flask. </p>
  
  <p>The problem is that it has been 2 weeks since I am stuck on a problem.
  I would like to run a python command that launches a server, retrieve the standard output, and display in real time on the web-site.</p>
  
  <p>I do not know at all how to do because if I use "render_template" I do not see how to update the web site-the values sent in the console.</p>
  
  <p>I use python 2.7, thank you very much</p>