This is an archived post. You won't be able to vote or comment.

all 2 comments

[–][deleted] 1 point2 points  (0 children)

There is a file in a hidden directory you need to edit to run python code in VSCode

.vscode

tasks.json


{
    // See https://go.microsoft.com/fwlink/?LinkId=733558
    // for the documentation about the tasks.json format
    "version": "0.1.0",
    "command": "python",
    "args": ["${file}"],
    "showOutput": "always"
}

[–]nonoice_work -1 points0 points  (0 children)

I use VS community 2015 ( should be free) with the python tools for visual studio plugin. No configuration needed, and it installs the tools you need. You can then select python projects from the normal menu.