title: Downloading files from a website to parse
body: <p>So I'm developing a python application that uses the data from </p>
  
  <p><a href="http://censtats.census.gov/cgi-bin/cbpnaic/cbpsect.pl" rel="nofollow">http://censtats.census.gov/cgi-bin/cbpnaic/cbpsect.pl</a></p>
  
  <p>I've created a parser that parses the data I need from the .txt files that you can download from each data set at the bottom of the page. However, I'd like to make it dynamic so that it can work for any data set not just the ones I have downloaded. Is there anyway I can use python to grab the text files from the site? The files are downloaded as the same name so I'm really clueless as to how I could do this.</p>
  
  <p>html code of the button :</p>
  
  <pre><code>    &lt;form method=post action=/cgi-bin/cbpnaic/cbpsect.txt&gt;
  &lt;input name=Year value=2013 type=hidden&gt;&lt;input name=County value=017 type=hidden&gt;&lt;input name=State value=38 type=hidden&gt;&lt;input name=Noise value=YES type=hidden&gt;&lt;input name=LFO value=YES type=hidden&gt;&lt;input type=submit value="Save as text file."&gt;
  &lt;/form&gt;
  </code></pre>