vscode๋ก ๊ฐ๋จํ๊ฒ ํ์ด์ฌ์ ์คํํ๊ธฐ ์ํด์ ์ค์ ํด์ผํ ๊ธฐ๋ณธ์ ์ธ ์ฌํญ์ด๋ค!
์ดํ์ ๊ฐ์ ํ๊ฒฝ ์ค์ ์ด๋ ์ด๋ฐ๊ฒ์ ์ข ๋ ๊ณต๋ถํ ์์ ....ใ
ใ
ใ
ใ

ํ์ด์ฌ ํํ์ด์ง ( https://www.python.org/downloads/release/python-3104/ ) ์ ๋ค์ด๊ฐ์ ๊ฐ์ ์ํ๋ ๋ฒ์ ๊ณผ ์ฌ์์ ๋ง์ถฐ์ ๋ค์ด

cmd + shift + p ์คํ -> python interpreter ์คํ
์ํ๋ ๋ฒ์ ์ python์ผ๋ก interpreter ์ค์

๋๋ 3.10.4 ๊น์์ผ๋๊น ์ ๊ฒ์ผ๋ก ์ค์ ...!
์๋ก์ด ํด๋ ์์ฑํ ๋๋ฒ๊ทธ ํญ์ผ๋ก ๊ฐ๋ฉด launch.json ์์ฑ๊ฐ๋ฅ!!


tasks configure ์
๋ ฅ => tasks.json์์ฑ


tasks.json ์๋ ์ฝ๋๋ก ์์ {
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Project Label",
"type": "shell",
"command": "python3",
"args": [
"${file}"
],
"presentation": {
"reveal": "always",
"panel": "new"
},
"options": {
"env": {
"PYTHONIOENCODING": "UTF-8"
}
},
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
-> "command": "python3", ๊ฐ ํ์ cmd + shift + b๋ก ํ์ด์ฌ ์คํ์ ์ค๋ฅ ์๋์ฉ!
cmd+shift+b๋ก ์คํ!