title: Downloading csv file from a website using python
body: <p>I have the following website <a href="https://in.finance.yahoo.com/q/hp?s=%5EBSESN&amp;a=03&amp;b=3&amp;c=1997&amp;d=10&amp;e=4&amp;f=2015&amp;g=d" rel="nofollow">yahoo finance</a>. I want to set a date range on that page for e.g April 3rd 1997 to 4th November 2015. Once I set the date range I get a link to download the file as <code>csv</code> on that page, below the tables. I want to download the csv file. But I want all of this to be done programmatically. How do I achieve this using python.</p>