Installation
How to use Python: Running it online or installing Miniconda and VS Code for local use.
Online
- Go to the Jupyter website.
- Open the link and start Jupyter Notebook directly from the web portal.
- You can execute Python code within the Jupyter Notebook environment.
- 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
- Go to the Python download page.
- Download the appropriate installer for your operating system (Windows, macOS, or Linux).
- Run the installer and make sure to check the box that says “Add Python to PATH” during installation.
- Follow the installation instructions.
Step 2: Download and Install Miniconda
- Go to the Miniconda download page.
- Download the appropriate installer for your operating system (Windows, macOS, or Linux).
- Run the installer and follow the installation instructions.
Step 3: Download Visual Studio Code
- Go to the Visual Studio Code download page.
- Download the appropriate installer for your operating system.
- Run the installer and follow the installation instructions.
Step 4: Install Extensions in Visual Studio Code
- Open Visual Studio Code.
- 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.
- Install the Jupyter extension:
- In the Extensions view, search for “Jupyter” and install the extension also published by Microsoft.