1
I already installed the Python extension in Vscode but I want to know how to recognize the Python 3 syntax?
1
I already installed the Python extension in Vscode but I want to know how to recognize the Python 3 syntax?
1
0
Open Settings and add the following key:
"pythonPath": "/usr/bin/python3",
But the correct way would be to go to the folder of your project, create a virtualenv like this:
virtualenv --python=/usr/bin/python3 venv
enable the virtual env
source venv/bin/activate
and then give command
code .
so the visual studio code will open all files from that folder using virtualenv python as interpreter.
Browser other questions tagged python visual-studio-code
You are not signed in. Login or sign up in order to post.
Synthesis? Or syntax?
– Jefferson Quesado
There are more than one VS code extension available Felipe, can indicate which one you are using?
– gmsantos
@gmsantos I am using python, which is in recommended
– Felipe Santos
What is the name of the author of the extension? Don Jayamanne? I need to know exactly what the extension is because the configuration varies between them.
– gmsantos
@gmsantos yes, that of Don Jayamanne
– Felipe Santos