How to download stock universe?

how do i download stock universe for nifty 500?

what codes has to be used to do so?

You can get the list of Nifty 500 stocks from the below link and then can use pandas read_csv to read the data.



https://www.nseindia.com/products-services/indices-nifty500-index

The link helped me to get the list but was unable  to read the data using pandas read_csv.It is showing parseError:Error tokenizing data.

ParserError: Error tokenizing data. C error: Expected 1 fields in line 12, saw 2
You can remove the lines which are not formatted correctly. Or you can add a parameter to ignore the bad lines as shown below.
data = pd.read_csv('file1.csv', error_bad_lines=False)