title: Running simple python app with endless loop on openshift
body: <p>I'm writing small &amp; simple telegram bot on python. I never used this language in my work and decided that's a good way to learn by practice.</p>
  
  <p>To get updates my app currently uses long polling called from an endless loop.</p>
  
  <p>So I'm basically searching for the <em>simplest</em> way to run this app on openshift. I tried to use <a href="https://github.com/mitsuhiko/flask/issues/777" rel="nofollow">this</a> example on flask but it didn't work. There are a lot of other options to implement background infinite processes with multiprocessing (from django and cerely to tornado) but it seems that all of them are way too advanced and complicated for my rather modest needs.</p>