Retrieving a stock quote using Python?

David Lees abcdebl2nonspammy at verizon.net
Wed May 21 18:03:55 EDT 2003


I would like to write a utility in Python that takes a stock symbol as 
an input and returns a current price.  Suggestions on how to do this are 
welcome.  I was thinking of an approach that would go out to a page like 
finance.yahoo.com, entering the stock symbol and then collecting the 
results and parsing them for the price.  But it has been awhile since I 
used pythton and I'm not sure I ever really knew how to do this.

TIA

David Lees





More information about the Python-list mailing list