title: Problems with Forms, using POST method with Mechanize in Python
body: <p>I was trying to fill a form using mechanize in python, it didn't work with normal submit(). Somehow mechanize didn't manage to parse the radio buttons and found only 1 instead of 4. After that I tried to write a POST request -</p>
  
  <pre><code>    data = {
          'localid' : '11755',
          'language' : '3',
          'code' : 'hello world',
      }
      page = browser.open( self.submiturl, urllib.urlencode( data) )
  </code></pre>
  
  <p>But it doesn't post anyhing at all. I am not sure what I am missing here, is it the right way make a POST? Is there any other way to make mechanize recognize radio buttons? </p>
  
  <p>My full code can be read from <a href="http://ideone.com/kSq97" rel="nofollow">this link</a>.</p>