Import success however SyntaxError: invalid syntax error even for simple function
I am trying to this library
This is the simplest sample
from yahoo_finance import Share
yahoo = Share('YHOO')
print yahoo.get_open()
shows error like this.
File "yahoofinancetest.py", line 3
print yahoo.get_open()
^
SyntaxError: invalid syntax
It's too simple to get clue for solving
Where should I check??