sample

Pharmacy Digital Competency Series Pilot Episode

Python for First Semester B.Pharm

Learn Python from ZERO — no engineering background required. Practical code designed around patient vitals, medications, and pharmaceutical logic.

🌱

A Warm Note for Students & Faculty

"I am not a coding expert—I am learning just like you. This companion hub is made to share what we learn in the simplest way possible, connecting every concept with pharmacy and healthcare. Let’s break down the fear of coding together!"

Host: APTI Kerala State Branch Open on YouTube ↗

⏱️ Lesson Chapters & Highlights

Click to navigate

How to Run Python: 2 Approaches

Pick Option A if you want to start coding right in your browser in under 1 minute.

⭐ Highly Recommended for Beginners

Google Colab (Interactive Cloud Notebook)

Works on any browser, laptop, or tablet. Saves your code directly to Google Drive.

Open Google Colab ↗
1

Visit Colab Website

Open colab.research.google.com and sign in with your ordinary Google/Gmail account.

2

New Notebook

Click on File → New Notebook. A blank interactive notebook cell will appear on your screen.

3

Type & Run!

Paste your Python code into the cell. Press Shift + Enter (or click the Play circle button) to run it immediately.

Key Pharmacy Python Code Blocks

One-click copy with easy-to-digest pharmaceutical analogies.

Snippet 01

The print() Function: Dispensing Information

print("Hello Pharmacy!")
print

The Machine / Dispenser

An instruction or function in Python that tells the computer: "Display what follows on the monitor."

(   )

The Input Tray / Container

Parentheses hold whatever material you want to pass inside the function for it to process.

"Hello Pharmacy!"

The Medicine Label (Text / String)

Quotes tell Python that this is literal text/characters, not a variable or formula.

Snippet 02

Clinical Triage: Body Temperature Fever Checker

# 1. Ask user for patient reading & convert to decimal
temperature = float(input("Enter temperature in °F: "))

# 2. Clinical condition: threshold 100°F
if temperature >= 100:
    print("Fever")
else:
    print("Normal")
💡 Common Beginner Pitfall: Where do I type the number?

Do not write input("Enter temperature in °F: 98.2") inside your script. That 98.2 will just become part of the displayed question text! Run the cell, wait for the small input box below the cell to appear, type 98.2 there, and press Enter.

input() Asks the user a question and pauses to take whatever text they type.
float() Converts the typed answer into a decimal number so math comparisons work.
if >= 100: Clinical decision gate: checks if temperature is greater than or equal to 100.
else: The fallback plan: executes if the patient's temperature is below 100.
Snippet 03

Hypertension Screening: Systolic Blood Pressure Check

bp_systolic = float(input("Enter Systolic BP (mmHg): "))

if bp_systolic >= 140:
    print("High Blood Pressure (Hypertensive)")
else:
    print("Normal BP")

Pharmacy Connection: Traditional computer programs take Data (e.g. 145 mmHg) and Rules (e.g. ≥ 140 mmHg) to automatically produce Classification.

Live Browser Simulator

Interactive Pharmacy Python Lab

Test out the code without installing anything right now. Select an exercise, provide input, and see how Python computes!

script.py Ready to run
Interactive Terminal Output Idle
# Click "Run Program" to execute the script...
The Big Picture

Pharmacy Digital Competencies Roadmap

Why learn Python now? See how your Semester 1 basics connect to clinical AI and pharmacology.

1
SEM 1

Python Fundamentals

Variables, data types, condition checks (if/else), loops, and introductory data handling with Pandas & Matplotlib.

📍 You Are Here
2
SEM 2

Biostatistics

Hypothesis testing, confidence intervals, p-values, and analyzing drug trial efficacy data using scientific Python libraries.

3
SEM 3

Machine Learning

Training models to predict molecular properties, solubility, biological activity, and disease risk factors.

6-8
SEM 6-8

Pharma AI & Projects

Clinical decision support tools, in-silico drug design, AI ethics in healthcare, and mini app development.

Frequently Asked Questions

Common doubts raised by first-year pharmacy students.

Do I need to be a math genius or computer science expert to pass?

No! In pharmacy, Python is used as a clinical calculator and data organizer. The focus is entirely on logical decision making (e.g. "If dose > max, alert pharmacist"), not computer engineering theory.

Why should I use Google Colab instead of installing Python on my laptop?

Google Colab requires zero setup. You avoid PATH configuration issues, library installation errors, and storage constraints. You can run Python on your phone, college computer lab, or home laptop with identical behavior.

What if I want to test another temperature value? Do I change the code?

You don't need to change the code! Simply click the cell again, press Shift + Enter to re-run it, and type in a new number (e.g., 102.5, 98.4, 99.1).

💊🐍 Python for First Semester B.Pharm — Companion Study Hub
Dedicated to pharmacy students and teachers learning together.
✓ Copied to clipboard!

Blog sample -02-Quick brown fox

Adgjfor the '+1 Button', 'Google+ Followers' and 'Google+ Badge' widgets in Layout will no longer be available. All instances of these widgets will be removed from your blog. +1 buttons: The +1/G+ buttons and Google+ share links below blog posts and in the navigation bar will be removed. for the '+1 Button', 'Google+ Followers' and 'Google+ Badge' widgets in Layout will no longer be available. All instances of these widgets will be removed from your blog. +1 buttons: The +1/G+ buttons and Google+ share links below blog posts and in the navigation bar will be removed. Please note that if you have a custom template that includes Google+ features, you may need to update your template. Please contact your template supplier for advice. Google+ Comments: Support for Google+ comments will be turned down, and all blogs using Google+ comments will be reverted back to using Blogger comments. Unfortunately, comments posted as Google+ comments cannot be migrated to Blogger and will no longer appear on your blog. Please note that if you have a custom template that includes Google+ features, you may need to update your template. Please contact your template supplier for advice. Google+ Comments: Support for Google+ comments will be turned down, and all blogs using Google+ comments will be reverted back to using Blogger comments. Unfortunately, comments posted as Google+ comments cannot be migrated to Blogger and will no longer appear on your blog.Adgjfor the '+1 Button', 'Google+ Followers' and 'Google+ Badge' widgets in Layout will no longer be available. All instances of these widgets will be removed from your blog. +1 buttons: The +1/G+ buttons and Google+ share links below blog posts and in the navigation bar will be removed. for the '+1 Button', 'Google+ Followers' and 'Google+ Badge' widgets in Layout will no longer be available. All instances of these widgets will be removed from your blog. +1 buttons: The +1/G+ buttons and Google+ share links below blog posts and in the navigation bar will be removed. Please note that if you have a custom template that includes Google+ features, you may need to update your template. Please contact your template supplier for advice. Google+ Comments: Support for Google+ comments will be turned down, and all blogs using Google+ comments will be reverted back to using Blogger comments. Unfortunately, comments posted as Google+ comments cannot be migrated to Blogger and will no longer appear on your blog. Please note that if you have a custom template that includes Google+ features, you may need to update your template. Please contact your template supplier for advice. Google+ Comments: Support for Google+ comments will be turned down, and all blogs using Google+ comments will be reverted back to using Blogger comments. Unfortunately, comments posted as Google+ comments cannot be migrated to Blogger and will no longer appear on your blog.Adgjfor the '+1 Button', 'Google+ Followers' and 'Google+ Badge' widgets in Layout will no longer be available. All instances of these widgets will be removed from your blog. +1 buttons: The +1/G+ buttons and Google+ share links below blog posts and in the navigation bar will be removed. for the '+1 Button', 'Google+ Followers' and 'Google+ Badge' widgets in Layout will no longer be available. All instances of these widgets will be removed from your blog. +1 buttons: The +1/G+ buttons and Google+ share links below blog posts and in the navigation bar will be removed. Please note that if you have a custom template that includes Google+ features, you may need to update your template. Please contact your template supplier for advice. Google+ Comments: Support for Google+ comments will be turned down, and all blogs using Google+ comments will be reverted back to using Blogger comments. Unfortunately, comments posted as Google+ comments cannot be migrated to Blogger and will no longer appear on your blog. Please note that if you have a custom template that includes Google+ features, you may need to update your template. Please contact your template supplier for advice. Google+ Comments: Support for Google+ comments will be turned down, and all blogs using Google+ comments will be reverted back to using Blogger comments. Unfortunately, comments posted as Google+ comments cannot be migrated to Blogger and will no longer appear on your blog.Adgjfor the '+1 Button', 'Google+ Followers' and 'Google+ Badge' widgets in Layout will no longer be available. All instances of these widgets will be removed from your blog. +1 buttons: The +1/G+ buttons and Google+ share links below blog posts and in the navigation bar will be removed. for the '+1 Button', 'Google+ Followers' and 'Google+ Badge' widgets in Layout will no longer be available. All instances of these widgets will be removed from your blog. +1 buttons: The +1/G+ buttons and Google+ share links below blog posts and in the navigation bar will be removed. Please note that if you have a custom template that includes Google+ features, you may need to update your template. Please contact your template supplier for advice. Google+ Comments: Support for Google+ comments will be turned down, and all blogs using Google+ comments will be reverted back to using Blogger comments. Unfortunately, comments posted as Google+ comments cannot be migrated to Blogger and will no longer appear on your blog. Please note that if you have a custom template that includes Google+ features, you may need to update your template. Please contact your template supplier for advice. Google+ Comments: Support for Google+ comments will be turned down, and all blogs using Google+ comments will be reverted back to using Blogger comments. Unfortunately, comments posted as Google+ comments cannot be migrated to Blogger and will no longer appear on your blog.

Blog sample 03- Global Warming

obal warming is a long-term rise in the average temperature of the Earth's climate system, an aspect of climate change shown by temperature measurements and by multiple effects of the warming.[2][3] The term commonly refers to the mainly human-caused observed warming since pre-industrial times and its projected continuation,[4] though there were also much earlier periods of global warming.[5] In the modern context the terms global warming and climate change are commonly used interchangeably,[6] but climate change includes both global warming and its effects, such as changes to precipitation and impacts that differ by region.[7][8] Many of the observed warming changes since the 1950s are unprecedented in the instrumental temperature record, and in historical and paleoclimate proxof climate change shown by temperature measurements and by multiple effects of the warming.[2][3] The term commonly refers to the mainly human-caused observed warming since pre-industrial times and its projected continuation,[4] though there were also much earlier periods of global warming.[5] In the modern context the terms global warming and climate change are commonly used interchangeably,[6] but climate change includes both global warming and its effects, such as changes to precipitation and impacts that differ by region.[7][8] Many of the observed warming changes since the 1950s are unprecedented in the instrumental temperature record, and in historical and paleoclimate prox

of climate change shown by temperature measurements and by multiple effects of the warming.[2][3] The term commonly refers to the mainly human-caused observed warming since pre-industrial times and its projected continuation,[4] though there were also much earlier periods of global warming.[5] In the modern context the terms global warming and climate change are commonly used interchangeably,[6] but climate change includes both global warming and its effects, such as changes to precipitation and impacts that differ by region.[7][8] Many of the observed warming changes since the 1950s are unprecedented in the instrumental temperature record, and in historical and paleoclimate proxof climate change shown by temperature measurements and by multiple effects of the warming.[2][3] The term commonly refers to the mainly human-caused observed warming since pre-industrial times and its projected continuation,[4] though there were also much earlier periods of global warming.[5] In the modern context the terms global warming and climate change are commonly used interchangeably,[6] but climate change includes both global warming and its effects, such as changes to precipitation and impacts that differ by region.[7][8] Many of the observed warming changes since the 1950s are unprecedented in the instrumental temperature record, and in historical and paleoclimate proxof climate change shown by temperature measurements and by multiple effects of the warming.[2][3] The term commonly refers to the mainly human-caused observed warming since pre-industrial times and its projected continuation,[4] though there were also much earlier periods of global warming.[5] In the modern context the terms global warming and climate change are commonly used interchangeably,[6] but climate change includes both global warming and its effects, such as changes to precipitation and impacts that differ by region.[7][8] Many of the observed warming changes since the 1950s are unprecedented in the instrumental temperature record, and in historical and paleoclimate proxof climate change shown by temperature measurements and by multiple effects of the warming.[2][3] The term commonly refers to the mainly human-caused observed warming since pre-industrial times and its projected continuation,[4] though there were also much earlier periods of global warming.[5] In the modern context the terms global warming and climate change are commonly used interchangeably,[6] but climate change includes both global warming and its effects, such as changes to precipitation and impacts that differ by region.[7][8] Many of the observed warming changes since the 1950s are unprecedented in the instrumental temperature record, and in historical and paleoclimate prox

Blog sample 01-Global economics



Dr. M.K. Unnikrishnan's Blogs

Dr. Unnikrishnan brings more than three decades of academic and research experience to the table. He has more than 100 peer-reviewed publications and a few patents in his credit and currently focused on “lending a hand” to the pharma students. Prior to NCP, Dr. Unnikrishanan was associated with Manipal College of Pharmacy as Prof and Head of Department of Pharmacy Practice where he played a pivotal role in networking with many leading universities across the globobal warming is a long-term rise in the average obal warming is a long-term rise in the average temperature of the Earth's climate system, an aspect of climate change shown by temperature measurements and by multiple effects of the warming.[2][3] The term commonly refers to the mainly human-caused observed warming since pre-industrial times and its projected continuation,[4] though there were also much earlier periods of global warming.[5] In the modern context the terms global warming and climate change are commonly used interchangeably,[6] but climate change includes both global warming and its effects, such as changes to precipitation and impacts that differ by region.[7][8] Many of the observed warming changes since the 1950s are unprecedented in the instrumental temperature record, and i
NATIONAL COLLEGE OF PHARMACY
 historical and paleoclimate prox obal warming is a long-term rise in the average temperature of the Earth's climate system, an aspect of climate change shown by temperature measurements and by multiple effects of the warming.[2][3] The term commonly refers to the mainly human-caused observed warming since pre-industrial times and its projected continuation,[4] though there were also much earlier periods of global warming.[5] In the modern context the terms global warming and climate change are commonly used interchangeably,[6] but climate change includes both global warming and its effects, such as changes to precipitation and impacts that differ by region.[7][8] Many of the observed warming changes since the 1950s are unprecedented in the instrumental temperature record, and in historical and paleoclimate prox the Earth's climate system, an aspect of climate change shown by temperature measurements and by multiple effects of the warming.[2][3] The term commonly refers to the mainly human-caused observed warming since pre-industrial times and its projected continuation,[4] though there were also much earlier periods of global warming.[5] In the modern context the terms global warming and climate change are commonly used interchangeably,[6] but climate change includes both global warming and its effects, such as changes to precipitation and impacts that differ by region.[7][8] Many of the observed warming changes since the 1950s are unprecedented in the instrumental temperature record, and in historical and paleoclimate prox