How should I display my python interpreter in the status bar in VS code?

Viewed 49

I'm a beginner, this is my first day and I have no idea that how should I display my python interpreter in the status bar in VS code? I have downloaded python but this is how it's currently displaying enter image description here

1 Answers

First you have to install python for your machine and install the Python extension in vscode. It will be helpful to follow this documentation.

Then create a new file with the file extension .py.

enter image description here

enter image description here


Showing Plain Text in your status bar means you just created a new text file and you haven't selected a language for this file.

enter image description here

As follows, select python, the status bar will be displayed as python interpreter.

enter image description here

enter image description here


You can add this configuration in settings.json file, which will make vscode create new files as python language by default.

    "files.defaultLanguage": "python",
Related