title: Simple web gui for python script without side web server
body: <p>For example, simple while loop, with control in the browser:</p>
  
  <p>python script:</p>
  
  <pre><code>#!/usr/bin/python
  
  import random
  import time
  
  Delay = 1 # Default
  
  while True:
      seed = random.random()
      time.sleep( Delay )
      # Show seed in browser
  </code></pre>
  
  <p>While <code>while loop</code> works, I want to see random seed each second in web browser and ability to change <code>Delay</code> without reloading page, ajax interface. </p>
  
  <p>I'm trying to choose true way here: <a href="https://wiki.python.org/moin/WebFrameworks" rel="nofollow">wiki.python.org/moin/WebFrameworks</a>, methinks that django framework is too huge for such easy task.</p>