title: How to download file using Python?
body: <p>I'm completely new to Python, I want to download a file by sending a request to the server. When I type it into my browser, I see the CSV file is downloaded, but when I try sending a get request it does not return anything. for example: </p>
  
  <pre><code>import urllib2
  response = urllib2.urlopen('https://publicwww.com/websites/%22google.com%22/?export=csv')
  data = response.read()
  print 'data: ',  data
  </code></pre>
  
  <p>It does not show anything, how can I handle that? When I search on the web, all the questions are about how to send a get request. I can send the get request, but I have no idea of how the file can be downloaded as it is not in the response of the request.</p>
  
  <p>I do not have any idea of how to find a solution for that. </p>