728x90
비쥬얼스튜디오에서 파이썬 사용하는 방법입니다.
1. 비쥬얼스튜디오 클릭 후 언어 선택 후 파란 표시 부분을 클릭합니다

2. 솔루션은 큰 디렉토리고, 프로젝트는 솔루션 안에 있는 디렉토리들이라고 생각하시면 됩니다

3. 명령어를 간단히 입력해서 잘 돌아가는지 보겠습니다
윈도우 유저 기준
Ctrk + F5
를 누르면 인터프리터를 사용합니다.

4. 인터프리터가 없다고 하는군요

비쥬얼 스튜디오로 C나 C++은 바로 컴파일 되는데 말이죠
(파이썬 (Python)은 C나 C++ 처럼 소스 코드를 컴파일한 다음 실행하는 컴파일러 (Compiler) 언어가 아니고 실행 시점에 코드를 읽어 처리하는 인터프리터 (Interpreter) 언어 입니다.)
5. 보라색 글자인 Download and install Python 을 클릭하고
파이썬 인터프리터를 설치해줍니다

6. 파이썬 인터프리터를 설치 중입니다

7. 보라색 부분을 우클릭하면 메뉴가 여러줄 생길거에요
(캡처도구를 키면 우클릭 메뉴창이 사라져서 아래 사진에 문구로 설명을 적었습니다)


8. 사진의 보라색 네모 버튼을 클릭합니다

9. 다시 Ctrl + F5 을 누르면 인터프리터가 잘 작동이 됩니다

팔로우
728x90
반응형
'컴퓨터 활용(한글, 오피스 등) > 기타' 카테고리의 다른 글
DBeaver Ultimate 비밀번호 등록 (0) | 2024.03.02 |
---|---|
협업툴 무료 버전 10종 주요 기능 비교 (0) | 2024.03.01 |
VMware vSphere 6.7 에서 vSphere 7.0으로 업그레이드 진행 (0) | 2024.02.13 |
Adobe 어도비 비정품 알림 제거 방법 (0) | 2024.02.13 |
어도비 Adobe genuine software integrity service 제거 삭제 방법 (1) | 2024.02.06 |