Tool/VSCode&Cursor
VSCode에서 Python 개발환경 만들기
건담아빠
2023. 8. 11. 10:06
VSCode에서 파이썬 개발환경을 설정해보자
1. Visual Studio Code 설치
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. 필수 Extension 설치 및 테스트
2.1. Python 설치
2.2. 간단한 Hello World 작성 후 테스트
test.py 파일 생성 후 `Hello World`를 찍어봄으로써 개발환경 설정 확인
3. 부가적인 익스텐션 설치
- Python Type Hint
어떤 타입인지에 대한 힌트를 보여줘서 코딩하기 편하게 해준다.
- Python Extended
함수를 입력하면 해당 함수에서 필요한 모든 인자값을 자동완성으로 타이핑 해준다.
해당 포스팅에서는 vscode에서 python으로 실행할 수 있는 환경만 만들어 보았다.