title: How to get the text input given by a user for an HTML page through python?
body: <p>How to get the text input given by a user for an HTML page through python?</p>
  
  <p>e.g. </p>
  
  <pre><code>&lt;html&gt;
  &lt;input id="post_form_id" name="fooput" value="" /&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Now, the user inputs the value abcxyz in the text field. How can I get that value using python? I already know how it is done through javascript but I want to do it using python.</p>
  
  <p>Also, I already tried Beautiful Soup but it can only return the preset value of the field.
  SO I can do</p>
  
  <pre><code>soup=BeautifulSoup(open("myhtmldoc.htm")) 
  print soup.find('input')['value']
  </code></pre>
  
  <p>But this wil only give me the preset value and not the value given by the user.</p>