관리 메뉴

개발 노트

비주얼 스튜디오 코드 설치 및 실행 본문

Python 공부 : 21.10.26~/python 시작하기

비주얼 스튜디오 코드 설치 및 실행

hayoung.dev 2021. 10. 26. 22:53

1. 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. 새 파일 열기

 

4. 코드 작성 후 저장 시

*코드 명 또는 폴더에 한글 사용하거나 띄어쓰기 하지 않기. 영문 이름의 코드 명 또는 폴더 만들기.

.py 로 저장
권장 사항 표시하여 파이썬 설치

 

5. 실행 시 .py가 저장되어 있는 폴더에 들어가서 > 빈 화면 마우스 오른쪽 > [여기서 powershell 창 열기] 클릭 > [python 파이썬제목명.py] 입력을 하면 하단과 같이 실행됨

 

 

*참고

첫 번째 껀 긴 코드용, 두 번째 껀 한 줄 용

반응형

'Python 공부 : 21.10.26~ > python 시작하기' 카테고리의 다른 글

12/15 python 시작하기  (0) 2021.10.26