Installation

How to use Python: Running it online or installing Miniconda and VS Code for local use.

Online

  1. Go to the Jupyter website.
  2. Open the link and start Jupyter Notebook directly from the web portal.
  3. You can execute Python code within the Jupyter Notebook environment.
  4. Follow the instructions provided by the Jupyter portal for using the notebook interface.

Local- Setting Up Python, Miniconda, and Visual Studio Code

This tutorial will guide you through downloading Python, creating a virtual environment using Miniconda, and setting up Visual Studio Code to use the virtual environment.

Step 1: Download and Install Python

  1. Go to the Python download page.
  2. Download the appropriate installer for your operating system (Windows, macOS, or Linux).
  3. Run the installer and make sure to check the box that says “Add Python to PATH” during installation.
  4. Follow the installation instructions.

Step 2: Download and Install Miniconda

  1. Go to the Miniconda download page.
  2. Download the appropriate installer for your operating system (Windows, macOS, or Linux).
  3. Run the installer and follow the installation instructions.

Step 3: Download Visual Studio Code

  1. Go to the Visual Studio Code download page.
  2. Download the appropriate installer for your operating system.
  3. Run the installer and follow the installation instructions.

Step 4: Install Extensions in Visual Studio Code

  1. Open Visual Studio Code.
  2. Install the Python extension:
    • Go to the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of the window or pressing Ctrl+Shift+X.
    • Search for “Python” and install the extension published by Microsoft.
  3. Install the Jupyter extension:
    • In the Extensions view, search for “Jupyter” and install the extension also published by Microsoft.

Updated: