Python
Module 1: Introduction to Python
History and features of Python
Installing Python and IDEs (IDLE, VSCode, PyCharm)
Python interactive shell and script mode
Syntax, Keywords, Identifiers
Input/Output and Comments
Module 2: Variables, Data Types & Operators
Variables and Constants
Data types: int, float, str, bool, list, tuple, dict, set
Type casting
Operators: arithmetic, relational, logical, bitwise, assignment
Expressions and operator precedence
Module 3: Control Structures
Conditional Statements: if, if-else, if-elif-else
Looping: for, while, nested loops
Loop control: break, continue, pass
Use of
range()function
Module 4: Functions and Recursion
Defining and calling functions
Function arguments: positional, keyword, default, variable-length
Return values
Scope: local and global
Lambda functions
Recursion and use cases
Module 5: Data Structures in Python
List: creation, indexing, slicing, methods
Tuple: immutability, indexing
Set: uniqueness, operations
Dictionary: key-value pairs, methods
List comprehensions and dictionary comprehensions
Module 6: String Handling
String creation and indexing
String methods and formatting
Slicing, searching, replacing, splitting
String comparison
Module 7: File Handling
File types: text and binary
Reading and writing files
Context manager (
withstatement)File operations (readline, read, write, append)
Exception handling with file operations
Module 8: Exception Handling
Syntax errors vs. exceptions
Try, except, finally
Else block with try
Built-in exceptions
Raising exceptions
Creating custom exceptions
Module 9: Object-Oriented Programming in Python
Classes and Objects
Constructor (
__init__)Instance and Class variables
Methods: instance, class, static
Inheritance and Polymorphism
Encapsulation and abstraction
super()and method overriding
Module 10: Modules and Packages
Importing standard modules (
math,datetime,random, etc.)Creating and using custom modules
Python Package Index (PyPI)
Virtual environments and
pip
Module 11: Working with Libraries (Intro)
NumPyfor numerical operationsPandasfor data manipulationMatplotlibfor basic plottingOptional:
tkinterfor GUI applications
Module 12: Final Project / Mini Applications
CLI-based calculator / to-do list
File analyzer / log processor
Simple data visualizer using Pandas and Matplotlib
Quiz app or student record system
