title: Selecting from dropdown list using urllib
body: <p>I want to select an item from a drop down list from a <code>.aspx</code> page then click a button. Then a table is updated based on the value in the dropdown. When the item in the dropdown is  selected, it will have <code>selected="selected"</code> added onto it.</p>
  
  <pre><code>&lt;form method="post" action="page.aspx" id="aspnetForm"&gt;
      &lt;div id="div1"&gt;
          &lt;select name="DropDownList" id="DropDownList1"&gt;
  
              &lt;option selected="selected" value="foo"&gt;foo&lt;/option&gt;
              ...
              &lt;option value="bar"&gt;bar&lt;/option&gt;
              &lt;option value="foobar"&gt;foobar&lt;/option&gt;
  
          &lt;/select&gt;
          &lt;input type="submit" name="Button" value="Submit Value" id="Button1"&gt;
      &lt;/div&gt;
      &lt;div id="div2"&gt;
          &lt;table id="table1" name="Table"&gt;
              &lt;tbody&gt;.
                  &lt;tr&gt;...&lt;/tr&gt;
                  ...
                  &lt;tr&gt;...&lt;/tr&gt;
              &lt;/tbody&gt;
          &lt;/table&gt;
      &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Is there a way to click this select a value in the dropdown, click the button, then get the data in the table using urllib, urllib2, or urllib3? Or will I need to use something like mechanize?</p>