Download the python plug-in
##Install the Python 3 version and choose a Python interpretation Interpreter
In VS Code, select the Python 3 interpreter by opening the Command Palette (Ctrl Shift P) and start typing Python: Select the Interpreter command to search, then select the command, and when finished bottomWriting demo
Create a folder at will. In vscode, file => open the folder, and create a new file ending with .py in the folder. For example, right-click to run the python file in the terminalmsg = "hello world" print(msg)
debug configuration
The above is the detailed content of How vscode relates to python. For more information, please follow other related articles on the PHP Chinese website!