PCI BP101T • Unit 1 (Module 3 of 5)⏱ 12 Min ReadStep-by-Step Screenshots

3. Integrated Development Environments (IDEs)

Overview and setup for the main Python development environments: VS Code, Jupyter Notebook, PyCharm, and Google Colab.

01

What is an IDE (Integrated Development Environment)?

An IDE is an all-in-one software application that combines code editing, error highlighting, interactive debugging, and terminal execution under one single window.

Four Main Parts of an IDE

  • Source Code Editor: Color codes Python keywords, automatically manages indentation, and highlights syntax errors.
  • Interpreter & Runner: Executes your code with 1 click without opening external command prompts.
  • Interactive Debugger: Allows stepping through code line-by-line to inspect live dosage values.
  • Package Manager: Installs scientific libraries like NumPy, SciPy, and Matplotlib.
IDE 1

Visual Studio Code (VS Code)

Developed by Microsoft, VS Code is the most popular free code editor. It is lightweight, fast, and supports Python through the official Microsoft extension.

Setup - Visual Studio Code (User Setup)
Step 2: Select Additional Tasks
Visual Studio Code Setup Wizard Additional Tasks with Add to PATH highlighted

Step-by-Step Setup Guide for VS Code

Step 1: Download

Download VSCodeUserSetup-x64 from code.visualstudio.com.

Step 2: Enable PATH

Ensure "Add to PATH" & "Open with Code" checkboxes are ticked before clicking Next.

Step 3: Python Extension

Open VS Code, press Ctrl+Shift+X, search Python (Microsoft) & install.

IDE 2

Jupyter Notebook / JupyterLab

Jupyter Notebook is ideal for pharmacokinetic curve plotting and data analysis. You run code cell-by-cell and graphs render immediately inside the notebook.

Command Prompt — pip install notebook
Step 1: Terminal Installation
Jupyter Notebook Terminal Pip Installation Screenshot

Step-by-Step Setup & Launch Guide

Step 1: Run Install Command in CMD
pip install notebook

Downloads and sets up the Jupyter core engine and interactive web server.

Step 2: Launch in Web Browser
jupyter notebook

Opens the local dashboard at localhost:8888 in your default browser.

http://localhost:8888/tree (pharmacy_calculations.ipynb)
Step 2: Interactive Notebook Running
Jupyter Notebook Interactive Pharmacy Calculations UI Screenshot
IDE 3

PyCharm (Community Edition)

Developed by JetBrains, PyCharm is a dedicated Python IDE. The Community Edition is 100% free and open-source.

PyCharm Community Edition Setup
Installation Options
PyCharm Community Edition Setup Wizard Installation Options

Step-by-Step Setup Guide for PyCharm

Step 1: Download Community Edition

Download the free Community installer from jetbrains.com/pycharm.

Step 2: Configuration Options

Enable "Add bin folder to PATH" and ".py Create Associations".

Step 3: Auto Virtualenv

Create a New Project; PyCharm automatically generates a clean isolated virtual environment (venv).

IDE 4

Google Colaboratory (Google Colab)

Google Colab runs directly in your web browser with zero local installation. It provides free cloud computing and easy sharing for pharmacy practical assignments.

https://colab.research.google.com/
Google Cloud Portal
Google Colab Interface Screenshot
Zero Install • Free Cloud GPUs
Back: 2. Installing PythonNext: 4. Advantages of IDEs over Text Editors