1
안녕 얘들 아 내가 python3를 사용하고 (https://pypi.python.org/pypi/googlefinance를) googlefinace 모듈을 설치하고 예제는 작동 말한다있어Google 금융 python3 오류
>>> from googlefinance import getQuotes
>>> import json
>>> print json.dumps(getQuotes('AAPL'), indent=2)
하지만 내 터미널 액세스 python3를 사용하여이 코드를 입력
>>> from googlefinance import getQuotes
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/googlefinance/__init__.py", line 55
print "url: ", url
^
SyntaxError: Missing parentheses in call to 'print'
무엇이 문제입니까?
고맙습니다. – pathfineder