Python

[Python] VScode 파이썬 설치하기

eunyeong 2021. 9. 10. 13:10

01-4 파이썬 설치하기

1. 아래 홈페이지로 들어가 Downloads -> Python 3.9.7 클릭

- 버전은 계속 바뀔텐데 최신버전 다운 받아주시면 됩니다.

https://www.python.org/

 

Welcome to Python.org

The official home of the Python Programming Language

www.python.org

2. 다운로드 받은 후 설치 파일을 열고 'Add Python 3.8 to PATH' 을 체크'Install Now' 클릭

- 파이썬이 어느 곳에서든지 실행될 수 있도록 "Add Python 3.8 to PATH" 옵션을 선택해야 합니다.

3. 설치완료

 

01-5. 파이썬 에디터

추천 에디터: Pycharm, VScode

1. 아래 홈페이지로 들어가 "Download for Windows" 클릭

- 자동으로 다운로드 됩니다.

https://code.visualstudio.com/

 

Visual Studio Code - Code Editing. Redefined

Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications.  Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows.

code.visualstudio.com

2. 다운로드 받은 후 설치 파일을 열고 "동의합니다" 체크 -> 옵션 모두 체크 -> "설치" 클릭

3. vscode 실행

4. Extension 설치: 왼쪽 하단 블록모양 아이콘 클릭 -> python 설치 클릭

- Extension: 프로그램에 도움을 주는 추가적인 프로그램

5. 파일-> 새파일 -> hello.py 파일 작성 후 저장

6. 실행하면 정상적으로 실행되는 것을 볼 수 있습니다.