To Install Visual Studio Code and Python Extension follow the steps below:

  1. Download Visual Studio Code from the official website and install it.
  2. Open Visual Studio Code.
  3. Go to the Extensions view (Ctrl+Shift+X or Cmd+Shift+X).
  4. Search for the "Python" extension by Microsoft and install it.
  5. Select a Python interpreter when prompted or manually choose one using the bottom-left Python version selector.
  6. 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.