title: How do download a file from url in Python
body: <p>I want to download a file in Python shell like files get downloaded into browser.
  Yes, I know there are multiple ways like curl, wget, url retrieve etc. but here in all the cases, file name is not the same as original file.
   Like if I want to download file from this url:</p>
  
  <p><a href="http://www.siemens.com/investor/pool/en/investor_relations/financial_publications/speeches_and_presentations/110405_trading_update_q2_11.pdf" rel="nofollow">http://www.siemens.com/investor/pool/en/investor_relations/financial_publications/speeches_and_presentations/110405_trading_update_q2_11.pdf</a></p>
  
  <p>I want to download the file from this url as it get downloaded in browser, with the same name as original.</p>