title: Using Python 2.7 To Stream Video In A Web Browser.
body: <p>This is my first time asking a question on SO, so I'll jump right in and hopefully I'm doing things correctly.  I've searched through Google and through the boards and while there are resources on streaming, they don't seem to give me the answer to my question.</p>
  
  <p>The short version: I would like to setup a python27 handler to stream video to a web browser. We currently have a way of doing this with PHP using Adobe FMS on a series of Linux servers. </p>
  
  <p>Long Version: My company uses an internal web streaming page that's currently setup using PHP. We want to step away from PHP as the handler for this and we've figured that Python would be up to the task of this. My problem? I'm not a web developer. I don't know the first thing about integrating py files in html. </p>
  
  <p>I've written software in Windows and in Linux before and I've played with video using PyMedia (nothing serious there). Additionally, I've found resources saying to use Flask to set up streaming but my brain cannot make heads or tails of it and it really doesn't <em>click</em> for me. If that makes sense. </p>
  
  <p>Has anyone undertaken such a project, and if they have can they suggest a website, tutorial or article that can help in greater detail? </p>
  
  <p>I can clarify or answer any questions that you may have to help answer this question in further detail.</p>
  
  <p>As I understand it:</p>
  
  <ol>
  <li>HTML would give the user the front end and media player to interact with.</li>
  <li>The user will click on a playlist item and that will send an input through the python handler to begin processing video from our FMS cache.</li>
  <li>The user sits backs, drinks a Capri Sun and enjoys the very boring lectures and award ceremonies that we host. </li>
  </ol>
  
  <p>Thank you all very much for your help!</p>