Home>Article>Development Tools> How does vscode compile python?
#How does vscode compile python?
1. To compile Python, we must first install python, enter the official website (https://www.python.org/downloads/) and download python3
(no Download python2.7, otherwise you will no longer use lower versions of python)
2. Configure environment variables
3. Add the plug-in to VS Code. Remember to click to reload the plug-in after adding it, or restart VS Code
4. Press F5 to run it directly or right-click it. Found more options to run Python files in the terminal
Related recommendations:vscode tutorial
The above is the detailed content of How does vscode compile python?. For more information, please follow other related articles on the PHP Chinese website!