Python

Python & PyCharm Setting

11mia 2020. 7. 28. 00:19

# PyCharm install URL : https://www.jetbrains.com/pycharm/

 

PyCharm: the Python IDE for Professional Developers by JetBrains

The Python & Django IDE with intelligent code completion, on-the-fly error checking, quick-fixes, and much more...

www.jetbrains.com

# Create New Project

Click Create New Project
Check Existing interpreter
New - Python File
Python file
Run - Run or control+option+r

# terminal

python3 filename

# shebang (셔뱅) : 현재 파일을 실행해 줄 프로그램을 지정할 때 사용 -> 파이썬 경로 지정

open vi editor
#! python3_path
chmod 755 filename
./filename

 

 

[참고]

파이썬 코딩도장(https://www.aladin.co.kr/shop/wproduct.aspx?ItemId=173294238)