##First install this ### $pip install googlefinance ###It is easy to get current stock price: from googlefinance import getQuotes import json print (json.dumps(getQuotes('AAPL'), indent=2))