

Then select the recommended Python interpreter on the list: Once the extension is installed, you have to select a Python interpreter.Now, we can select the Python extension and install it: This will show you a list of the most popular VS Code extensions on the VS Code Marketplace. Click on the Extensions icon on the left side of VS Code: We can also install the Python extension by browsing extensions. To work with Python inside VS Code, we need to use the Python extension, which brings many useful features, such as code completion with IntelliSense, debugging, unit testing support, etc: py extension and wants to install a Python extension: For example, create a new file and name it prog_01.py. Usually, VS Code needs your permission to access files in your Desktop folder click OK:Īlso, you may need to declare that you trust the authors of the files stored in your Desktop folder: For example, create a new folder on your Desktop, and name it py_scripts, then try to open the folder on VS Code. Launch Visual Studio Code, and then open a folder where your Python scripts exist or create a new one.


Visual Studio Code is a powerful, extensible, and lightweight code editor that has become one of the preferred code editors in the Python community. ApHow to Set Up Visual Studio Code in 2022 (The Easy Way)
