To Install Visual Studio Code and Python Extension follow the steps below:
- Download Visual Studio Code from the official website and install it.
- Open Visual Studio Code.
- Go to the Extensions view (Ctrl+Shift+X or Cmd+Shift+X).
- Search for the "Python" extension by Microsoft and install it.
- Select a Python interpreter when prompted or manually choose one using the bottom-left Python version selector.
- Start writing and running Python code on your computer using Visual Studio Code.
Now you will be able to run for example the web api scripts from your computer.