HomeSyllabusNotesBlogDownload Free Notes
BP101TSemester 12 creditsTheoryKEY SUBJECT

Basics of Python Programming for Pharmaceutical Sciences

Complete unit-wise syllabus for BP101T as per the PCI B.Pharm NEP 2020 curriculum (Semester 1 — Python + Core Sciences Foundation).

URL:https://pharmacode.vercel.app/syllabus/semester-1/bp101t-basics-of-python-programming-for-pharmaceutical-sciences/

Course Objectives

  • Introduce the fundamentals of Python programming for pharmaceutical sciences.
  • Develop basic programming skills using control structures, functions, and data structures.
  • Provide knowledge of data handling techniques for structured dataset management.
  • Familiarize students with data analysis tools such as NumPy and Pandas for healthcare datasets.
  • Enable students to visualize and interpret pharmaceutical data.

Unit-wise Syllabus

5 Units
1
Introduction to Python Programming6 Hours
  • Installing Python and an Integrated Development Environment (IDE) [Jupyter Notebook, PyCharm, VS Code etc.], Advantages of IDEs over text editors.
  • Python variables and data types (integers, floats, strings, booleans), Type casting and basic operators (arithmetic, comparison, logical), Input and output operations.
  • Basic string operations and manipulation techniques.
  • Introduction to standard libraries and third-party libraries, installing and uninstalling libraries.
2
Control Structures & Functions6 Hours
  • Conditional statements (if, if-else, if-elif-else), nested conditions.
  • Loops (for loop, while loop).
  • Break and continue statements.
  • Defining and calling functions, passing arguments and returning values.
  • Writing modular programs for simple pharmaceutical applications- dosage calculation and BMI calculation.
3
Data Structures & File Handling6 Hours
  • Lists, tuples, and dictionaries.
  • Indexing and slicing lists, basic operations on lists and dictionaries, string manipulation techniques.
  • Introduction to NumPy arrays, basic operations using NumPy (array creation, arithmetic operations).
  • Reading and writing CSV files.
  • Understanding structured healthcare datasets.
  • Importing small pharmaceutical datasets and performing basic data access and manipulation tasks.
4
Data Handling with Pandas6 Hours
  • Introduction to Pandas library.
  • Pandas Series and DataFrame structures.
  • Reading CSV and Excel files-PK study datasets and ADR reports.
  • Inspecting datasets using functions such as head(), tail(), info(), and describe().
  • Data cleaning techniques and handling missing values.
  • Filtering and selecting data based on conditions.
  • Grouping data and performing aggregation functions.
5
Data Visualization with Matplotlib6 Hours
  • Introduction to Matplotlib.
  • Creating line plots, histograms, scatter plots, and box plots.
  • Labeling axes, titles, and legends.
  • Create plots and visualize pharmaceutical datasets concentration-time curves for oral and IV administration, ADR reporting rates across drugs, dissolution profiles.
  • Scientific interpretation of plots.

Get complete notes for BP101T

Click any unit above to download its PDF notes — free, no login required

Recommended Textbooks & References

  1. Weiss, C.J., 2017. Scientific Computing for Chemists with Python. Available at: https://weisscharlesj.github.io/SciCompforChemists/notebooks/introduction/intro.ht ml
  2. Perkovic, L., 2015. Introduction to Computing Using Python: An Application Development Focus. 2nd ed. Hoboken: Wiley.
  3. Sweigart, A., 2025. Automate the Boring Stuff with Python. 3rd ed. Available at: https://automatetheboringstuff.com/
  4. W3Schools, n.d. Python Tutorial. Available at: https://www.w3schools.com/python/
  5. Datasets for Education and Research: Mentors and students can access healthcare datasets from sources such as Kaggle (healthcare records), government agencies (healthdata.gov, WHO, https://www.data.gov.in/), and clinical trial registries (https://ctri.nic.in/, https://clinicaltrials.gov/). Always use data responsibly.

What's coming next on this page

  • Previous year question papers (PYQ)
  • Topic-wise short notes and revision summaries
  • MCQs and self-assessment quizzes
  • Suggested external resources and video tutorials