Installing VSCode

  1. Download Visual Studio Code for macOS.
  2. Open the browser’s download list and locate the downloaded app or archive.
  3. If archive, extract the archive contents. Use double-click for some browsers or select the ‘magnifying glass’ icon with Safari.
  4. Drag Visual Studio Code.app to the Applications folder, making it available in the macOS Launchpad.
  5. Open VS Code from the Applications folder, by double clicking the icon.

Adding the Python extension

  1. https://marketplace.visualstudio.com/items?itemName=ms-python.python
  2. Click Install

OR

  1. Run vscode
  2. Click on Extensions
  3. Search for Python
  4. Click Install