vishwajeet singh wrote:
Hi List,
def __request(symbol, stat):
url = 'http://finance.yahoo.com/d/quotes.csv?s=%s&f=%s
<http://finance.yahoo.com/d/quotes.csv?s=%s&f=%s>' % (symbol, stat)
return urllib.urlopen(url)
I want to know in this % (symbol, stat) returns
Assume symbol = "foo" and stat = "bar".
Then url = 'http://finance.yahoo.com/d/quotes.csv?s=foo&f=bar
<http://finance.yahoo.com/d/quotes.csv?s=%s&f=%s>
--
Bob Gailer
919-636-4239 Chapel Hill, NC
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor