전체 글
python
cp -r cs101_libraries_py35/ /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7 • 실행하여 다운 받은 library 파일들을 python library기본 폴더로 복사
python invalid syntax
Python 3.9.2 (v3.9.2:1a79785e3e, Feb 19 2021, 09:09:00) [Clang 12.0.0 (clang-1200.0.32.29)] on darwin Type "help", "copyright", "credits" or "license()" for more information. >>> def print_message(): print("CS101 is fantastic!") print("Programming is so much fun!") >>> \print_message() CS101 is fantastic! Programming is so much fun! >>> def repeat_message(): print message() SyntaxError: invalid ..