Tag Info

Hot answers tagged

1

Python version of Brian's R code: Brian's code automatically grabs the first expense ratio it finds, which is the one you wanted. This version is a little more explicit. import urllib2, re stockSymbols = [ "VDIGX", "VFIAX" ] expenses = [ [ "Fund", "Most Recent Expense Ratio" ] ] for stockSymbol in stockSymbols: page = ...



Only top voted, non community-wiki answers of a minimum length are eligible