Introduction to Python and Google Colab
free
This module introduces you to the world of Python programming and the Google Colab environment. You’ll learn about Python’s origins, popularity, and real-world applications across web development, data science, and automation. The module covers core programming paradigms, setting up a Python environment, and using Google Colab for cloud-based coding. You’ll explore Python basics — variables, data types, operators, input/output, and code readability — and complete hands-on exercises to build your first interactive Python programs.
Origins and evolution of Python
Why Python is popular
Compare and contrast Python with other languages
Showcase real-world applications
Procedural Programming
Object-Oriented Programming (OOP)
Functional Programming
Local Installation
Dependency Management
Virtual Environments
What is Google Colab It’s purpose & Advantages
Setting up a Google Colab account
Detailed tour of the Colab interface (menus, toolbar, file explorer)
Explain the concept of cells
Demonstrate basic cell operations (adding, deleting, moving, running)
Assessment 1
Python Basics-Variables
Data Types-Integers & Type Conversion
Operators-Arithmetic, Comparison & Logical operators
String Manipulation
input() function
print() function
Comments in Python
Code style guidelines
Write a program that takes the user’s name as input and greets them
Write a program that performs basic arithmetic operations on numbers provided by the user
Format the Notebook
Assessment 2
Control Flow and Functions
This module dives into the core logic-building concepts of Python. You’ll learn how to control program execution using conditional statements (if, elif, else) and loops (for, while) to handle repetitive tasks efficiently. It also covers loop control statements like break, continue, and pass. You’ll then explore how to create and use functions to organize code, reuse logic, and improve readability, including parameter handling, return values, default arguments, and variable scope. The module also introduces lambda functions for writing concise, one-line functions and includes hands-on exercises to strengthen your understanding through real coding practice.
if, elif, else
Nested if statements
for loop
while loop
Nested loops
Break
Continue
Pass
Function Definition
Parameter and Return Values
Default Arguments
Keyword Arguments
Scope of Variables
Anonymous Functions
Syntax of Lambda Functions
Use Cases
Write a function to calculate the factorial of a number
Write a function to check if a number is prime
Write a function to reverse a string
Create a function to calculate the area of different shapes
Assessment 3
Data Structures
This module introduces Python’s core data structures — lists, tuples, dictionaries, and sets — which are essential for storing and managing data efficiently. You’ll learn how to create, access, and modify each data type, understand their unique properties, and apply common methods for manipulation and iteration. The module also covers advanced techniques like list and dictionary comprehensions for writing cleaner, more efficient code. Through hands-on exercises, you’ll practice solving real-world problems such as managing collections, organizing data, and performing operations using Python’s built-in data structures.
Creating lists Using square brackets [ ]
Indexing and slicing Accessing elements by their position
Modifying Lists
List Methods
List Comprehensions
Iterating over Lists
Creating tuples Using parentheses ()
Accessing Elements
Immutability
Tuples uses
Creating Dictionaries
Accessing Values
Modifying Dictionaries
Dictionary Methods
Dictionary Comprehensions
Assessment 4
Iterating over Dictionaries
Iterating over Dictionaries
Uniqueness
Set Operations
Set methods
Create a dictionary to store student information
Use sets to find common elements between two lists
Implement a shopping cart using a dictionary to store items and their quantities
Write a program to find the most frequent element in a list
Assessment 5
Working with Libraries in Colab
This module focuses on using powerful Python libraries within Google Colab to enhance your coding and data analysis workflow. You’ll learn how to install and import libraries directly in Colab and work with essential tools like NumPy for numerical operations, Pandas for data manipulation, Matplotlib for visualization, and Seaborn for statistical plotting. The module emphasizes practical, hands-on exercises where you’ll analyze datasets, perform computations, and create insightful visualizations — building a strong foundation for data-driven projects in Python.
Libraries in Python
Installing libraries in Colab
Importing libraries
Numpy
Pandas
Matplotlib
Seaborn
Use NumPy to perform matrix operations
Load a CSV dataset into a Pandas DataFrame and perform basic analysis
Create a line plot and a bar chart using Matplotlib to visualize data
Use Seaborn to create a scatter plot with a regression line
Assessment 6
Object-Oriented Programming (OOP)
This module introduces the principles of Object-Oriented Programming in Python, a powerful paradigm for writing structured and reusable code. You’ll learn how to define classes and objects, use constructors, and implement key OOP concepts such as inheritance, polymorphism, encapsulation, and abstraction. The module also covers organizing code with modules and packages for better scalability. Through hands-on exercises, you’ll build real-world examples like simple applications and class-based systems, gaining the skills to design and manage complex Python programs effectively.
What is OOP
Principles of OOP
Classes and Objects
Constructors
Instance Variables
Methods
Inheritance
Polymorphism
Encapsulation
Abstraction
Modules
Packages
Importing Modules & Functions
Create a Dog class with attributes
Create a Cat class and demonstrate inheritance
Build a simple banking system
Assesssment 7
File Handling and Exception Management
This module teaches you how to work with files and handle errors effectively in Python programs. You’ll learn how to read from and write to text, CSV, and JSON files, manage file modes, and use the with statement for efficient file operations. The module also covers exception handling using try, except, finally, and raise blocks to manage runtime errors gracefully. You’ll explore common exception types and even create custom exceptions. Through practical exercises, you’ll build programs that process data files and handle unexpected errors, ensuring your code is reliable and user-friendly.
Opening Files
Reading Files
Writing Files
Closing Files
Working with Different File Types
Error & Exceptions
Tryexcept blocks
Raising Exceptions
Custom Exceptions
Write a program to read a text file and count the number of words
Write a program to read a CSV file and calculate the average of a column
Create a program to handle potential errors
Implement a custom exception for invalid file formats
Assessment 8
Intermediate Python
This module takes your Python skills to the next level with more advanced concepts and techniques. You’ll explore iterators, generators, decorators, and regular expressions to write cleaner, more efficient, and scalable code. The module also covers list, set, and dictionary comprehensions, as well as lambda functions and higher-order functions for functional-style programming. Through hands-on coding exercises, you’ll learn to automate repetitive tasks, process text data, and implement elegant solutions to complex problems — preparing you for real-world Python applications and advanced data workflows.
Iterators
Generators
What are decorators? Functions that modify the behavior of other functions
Syntax: Using the @decorator syntax
Use Cases
The with statement: Simplifying resource management
__enter__() and __exit__() methods: Defining custom context managers
Use Cases
Create a generator that yields Fibonacci numbers
Write a decorator to log function calls with timestamps
Implement a context manager to ensure a file is always closed, even if an exception occurs
Assessment 9
Advanced Python Concepts
This module explores advanced Python features that help you write professional-grade, efficient, and scalable applications. You’ll learn about modules and packages, virtual environments, and the Python Standard Library for managing dependencies and organizing large projects. The module also introduces file system automation, context managers, and multithreading/multiprocessing to handle performance and concurrency. Additionally, you’ll understand memory management, decorators, and design patterns used in modern development. Through practical projects, you’ll gain experience applying these concepts to build optimized, production-ready Python programs.
Introduction to regular expressions A powerful tool for pattern matching in text
Basic syntax
The re module
Use cases
What is an API Application Programming Interface
Introduction to REST APIs
The requests library
API keys and authentication
Use regular expressions to validate email addresses
Fetch data from a public API (e.g., a joke API, a trivia API) and display it
Use the requests library to interact with a REST API
Aseessment 10
Data Analysis and Visualization
This module focuses on using Python for data analysis, exploration, and visualization. You’ll learn to clean, transform, and analyze datasets using Pandas and perform numerical computations with NumPy. The module also covers creating compelling visualizations with Matplotlib, Seaborn, and Plotly, helping you turn raw data into meaningful insights. You’ll work on hands-on projects involving real-world datasets to build charts, graphs, and dashboards — gaining practical experience in presenting data effectively and making data-driven decisions.
Advanced Pandas
Introduction to Plotly Explain its advantages
Installation Show how to install Plotly in Colab
Basic plotting Create scatter plots, line charts, bar charts with Plotly
Customization Add titles, labels, legends, and annotations.
Interactive features Enable zooming, panning, hovering, and click events.
Advanced plots Create 3D plots, geographic maps, and other complex visualizations.
Hands-on Exercises-1
Hands-on Exercise-2
Assessment 11
Get Certified
Certificate of Completion

