title: Calling a Python script from a webpage
body: <p>I've searched around for a while but I can't find a concise explanation of how to do what I want.</p>
  
  <p>I have a fairly complex program which I'd like to make a simple web interface for.</p>
  
  <p>Ideally there'll be a couple of text fields, "foo" and "bar" on a webpage.</p>
  
  <p>When the user clicks submit, a python script "src/script.py" is run, which has access to the contents of these fields somehow.</p>
  
  <p>I have apache2 and mod_python.</p>