Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- File "hi.py", line 16, in <module>
- intro()
- File "hi.py", line 13, in intro
- quote = ystockquote.get_price(line)
- File "/Users/Nawaz/plancials_beta/env/lib/python2.7/site-packages/ystockquote.py", line 67, in get_price
- return _request(symbol, 'l1')
- File "/Users/Nawaz/plancials_beta/env/lib/python2.7/site-packages/ystockquote.py", line 31, in _request
- resp = urlopen(req)
- File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 127, in urlopen
- return _opener.open(url, data, timeout)
- File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 402, in open
- req = meth(req)
- File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1113, in do_request_
- raise URLError('no host given')
- urllib2.URLError: <urlopen error no host given>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement