I'm a beginner who's trying to learn Python with an exercise book. I have Python installed on my computer and the Python, Pylance, Debugger and Environments extensions on VSC.
VSC won't detect Python. When I open a new file in the folder, it doesn't detect Python after I add the ".py" extension. It's reading it as Plain Text. I tried switching the language to Python but it doesn't show up in the list.
I also have the Python interpreter set to the Python file on my machine. I have the correct Path in my environmental variables. Any help would be appreciated. Ty



I'm a beginner who's trying to learn Python with an exercise book. I have Python installed on my computer and the Python, Pylance, Debugger and Environments extensions on VSC.
VSC won't detect Python. When I open a new file in the folder, it doesn't detect Python after I add the ".py" extension. It's reading it as Plain Text. I tried switching the language to Python but it doesn't show up in the list.
I also have the Python interpreter set to the Python file on my machine. I have the correct Path in my environmental variables. Any help would be appreciated. Ty