Python Section 10-5 Virtual Environments in VSCode: changing "python" in settings.json


I’m currently on the Python course’s 10-5 (Virtual Environments in VSCode), and I am trying to edit “python” in the settings.json. I know that since I am using Windows and Mosh is using Mac, what we need to type will be different. However, I cannot figure out what to write. Could anyone help?

(this is what I have… the red underline)


The red underline is there because the backslash is a special character in json. You need to write each backslash as \\.

1 Like

Ah I see, thank you.

I think it also works if you replace the “\” with a “/” it will also work will also work fine.

1 Like