[vscode] 파이썬 tasks.json

코딩하는계란·2021년 2월 26일
0

vscode

목록 보기
2/2

vscode에서 Ctrl + Shift + B키를 통해 python파일을 실행 시키기위한 코드이다.

{
    // 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": "python",
            "args": [
                "${file}"
            ],
            "presentation": {
                "reveal": "always",
                "panel": "new"
            },
            "options": {
                "env": {
                    "PYTHONIOENCODING": "UTF-8"
                }
            },
            "group": {
                "kind": "build",
                "isDefault": true
            }
        }
    ]
}
profile
코딩💻 고양이😺

0개의 댓글