title: Download a file to a particular folder python
body: <p>I can download a file from <code>URL</code> the following way.</p>
  
  <pre><code>import urllib2
  response = urllib2.urlopen("http://www.someurl.com/file.pdf")
  html = response.read()
  </code></pre>
  
  <p>One way I can think of is open this file as binary and then resave it to the differnet folder I want to save</p>
  
  <p>but is there a better way?</p>
  
  <p>Thanks</p>