Python Roadmap
TOPIC-1
Basic Python – Time, Practice & Assessment Plan
Time
S.No Topic Practice Programs Assessment Test (Suggestions)
(Hours)
Multiple choice + Output prediction
1 Basic Syntax 1 hr 2–3 print/input tasks
quiz
3–4 variable Debug and correct a variable-based
2 Variables 1 hr
exercises script
Match data type to output + small
3 Data Types 2 hrs 5–6 short programs
program
Conditionals 5–7 decision Write a logic-based program
4 2 hrs
(if/else) programs (odd/even, etc.)
Predict output after conversion +
5 Typecasting 1 hr 3–4 conversion tasks
short quiz
2–3 error-handling Identify errors + write try/except
6 Exceptions 1 hr
tasks block
5–6 function Function trace + write a reusable
7 Functions 2 hrs
problems function
Output prediction + sort/filter
8 Lists, Tuples, Sets 3 hrs 6–8 examples
practice
Create a dictionary + access/update
9 Dictionaries 2 hrs 4–5 key-value tasks
keys
Total Summary for BASIC Section:
Time: ~15 Hours
Practice: 35–45 Programs
Assessment: 9 mini-assessments (1 per topic)
AVIH Page 1
TOPIC-2
OOP in Python – Time, Practice & Assessment
Time Practice Programs
S.No Topic Assessment Test (Suggestions)
(Hours) (Examples)
Create a class with attributes and a
1 Classes 2 hrs 3–5 basic class definitions
method
Code-based Qs: Build a class
2 Inheritance 2 hrs 3–4 subclass examples
hierarchy
2–3 method overriding
3 Methods 1 hr Identify correct method output
examples
Dunder Implement and test __str__, __len__,
4 1 hr 2–3 (__init__, __str__, etc.)
Methods etc.
OOP Summary:
Total Time: ~6 Hours
Practice: 10–15 Programs
Assessments:
1. Write a full "Student" or "Bank Account" class (with inheritance and
dunder methods)
2. Code tracing quiz: Predict output from class-based examples
3. Debug and complete incomplete class structures
TOPIC-3
DSA in Python – Time, Practice & Assessment
Time Practice Problems
S.No Topic Assessment Test (Suggestions)
(Hours) (Approx.)
Arrays & Linked 5–7 (Insert, delete, Implement & trace basic array and
1 3 hrs
Lists search) linked list operations
5–6 (Push/pop, Build stack/queue from scratch +
2 Stacks & Queues 3 hrs
enqueue/dequeue) reverse a string/queue problem
Hash Tables 4–5 (HashMap-like Write code to handle key collisions
3 2 hrs
(Dicts/Sets) problems) or frequency counting
Trees (Binary Build a binary tree & traverse
4 4 hrs 5–6 (Traversal, insertion)
Trees) (inorder, preorder, postorder)
5–6 (Factorial, Fibonacci, Trace recursion stack + write simple
5 Recursion 3 hrs
etc.) recursive functions
Sorting 5–7 (Bubble, Insertion, Implement and analyze at least 2
6 3 hrs
Algorithms Merge Sort) sorting algorithms
AVIH Page 2
DSA Summary:
Total Time: ~18 Hours
Practice: 30–35 coding problems
Assessments:
1. Problem-solving test on platforms like LeetCode, HackerRank
2. Implement at least one custom data structure
3. Quiz: Time & space complexity of common sorting/searching
TOPIC-4
Package Managers in Python – Time, Practice & Assessment
Time
S.No Tool/Topic Practice Tasks Assessment Test (Suggestions)
(Hours)
Install & uninstall libraries, Install a library (requests) and
1 PIP 1 hr
check version write a sample script
Browse, search packages, read Find & explain a package for data
2 PyPI 0.5 hr
documentation scraping
Create virtual env, install Create env, install NumPy, activate,
3 Conda 1.5 hrs
packages via conda and run a script
Package Managers Summary:
Total Time: ~3 Hours
Practice: 5–7 tasks
Assessment:
1. Terminal-based test: Install, update, remove packages
2. Create & submit a Conda environment .yml file
3. Write a script using a third-party package from PyPI
TOPIC-5
Advanced Python – Time, Practice & Assessment
Time Assessment Test
S.No Topic Practice Programs
(Hours) (Suggestions)
List 5–6 conversion tasks (for Convert loops to list comps;
1 1 hr
Comprehensions loop → list comp) predict output
Generator 3–4 lazy evaluation Compare memory use between
2 1 hr
Expressions examples list and generator
Programming 2–3 (functional, procedural
3 1 hr Identify code paradigms
Paradigms snippets)
4 Regular 2 hrs 5–6 regex pattern matching Write regex for validation
AVIH Page 3
Time Assessment Test
S.No Topic Practice Programs
(Hours) (Suggestions)
Expressions programs (email, phone, etc.)
4–5 examples (logging, Create a decorator to log
5 Decorators 2 hrs
timer decorators) function execution
Iterators & 3–4 custom iterator
6 2 hrs Build a custom iterator class
Iterables examples
5–6 filter/map/reduce with Functional task using
7 Lambda Functions 1 hr
lambda map/filter/reduce + lambda
Advanced Python Summary:
Total Time: ~10 Hours
Practice: 25–30 Programs
Assessments:
1. Code tracing and rewriting tests
2. Build a small data processing pipeline using lambda, map, filter
3. Implement a regex-based validation script
TOPIC-6
Web Frameworks – Beginner-Friendly Time, Practice & Assessment
Time
S.No Framework Practice Projects / Tasks Assessment Test (Suggestions)
(Hours)
- Build a multi-route app - Create a feedback form app with
1 Flask 10–12 hrs - Form handling GET/POST
- Jinja templates - Template rendering quiz
- Build a blog or student
- Implement user login
portal
2 Django 15–20 hrs - Create model, migrate, and display
- Use ORM &
data
authentication
- Create a REST API
- Build async endpoints
3 FastAPI 6–8 hrs - Use Swagger UI for
- Test routes with Swagger docs
testing
- Real-time server - Create a live data dashboard
4 Tornado 5–6 hrs
- Handle async requests - Simple websocket or polling app
Web Frameworks Summary (Beginner Level):
Total Time: ~36–46 Hours
Practice: 3–4 mini projects (1 per framework)
Assessment: Hands-on builds, endpoint testing, templates, database tasks
TOPIC-7
AVIH Page 4
Python Automation – Time, Practice & Assessment
Time Practice Programs /
S.No Topic Assessment Test (Suggestions)
(Hours) Tasks
File - Read/write files - Script to organize files by type or
1 3 hrs
Manipulation - Rename, copy, move files date
- Use requests &
- Scrape headlines or product data
2 Web Scraping 4 hrs BeautifulSoup
from a real website
- Extract data from site
- Automate
keyboard/mouse with - Auto-type in Notepad or
3 GUI Automation 3–4 hrs
pyautogui automate file upload
- Take screenshots
- Use paramiko or netmiko - Write script to login to a
Network
4 4–5 hrs - Automate SSH/telnet router/switch and fetch
Automation
commands configuration
Automation Summary (Beginner Level):
Total Time: ~14–16 Hours
Practice: 10–15 automation scripts
Assessments:
1. Write a file-cleaner or log parser
2. Automate a login or file download from a website
3. Simulate GUI activity or remote command execution
TOPIC-8
Python Testing – Time, Practice & Assessment
Time
Topic Practice Tasks Assessment Test (Suggestions)
S.No (Hours)
- Write test cases using
- Write tests for calculator or
1 Unit Testing 3 hrs unittest
string functions
- Test individual functions
- Combine multiple
Integration - Test a module that connects to a
2 2 hrs functions/modules
Testing file or database
- Test their interaction
- Simulate user flows
End-to-End - Automate browser task: login,
3 3 hrs - Use tools like selenium or
Testing form fill, logout
pytest
4 Test-Driven Dev 2 hrs - Write tests before code - Write failing test first, then
AVIH Page 5
Time
Topic Practice Tasks Assessment Test (Suggestions)
S.No (Hours)
(TDD) - Refactor till pass complete code until test passes
Testing Summary (Beginner Level):
Total Time: ~10 Hours
Practice: 5–10 test files/scripts
Assessments:
1. Submit a module with complete test coverage
2. Build a test report using pytest
3. Use TDD to create a mini app (like a to-do or counter)
TOPIC-9
Data Science with Python – Beginner-Friendly Time, Practice & Assessment
Time Beginner Practice Beginner Assessment
S.No Topic
(Hours) Tasks Suggestions
- Create 1D/2D arrays - Simple matrix operations
1 NumPy 4 hrs - Perform basic math (add, multiply)
operations - Array slicing quiz
- Load CSV
- Clean and summarize a CSV
2 Pandas 6 hrs - Filter data
(e.g., student marks)
- Clean missing values
- Create bar, line, pie - Create visual reports (e.g.,
3 Matplotlib 3 hrs
charts marks vs subjects chart)
- Use datasets - Visualize dataset with at least
4 Seaborn 3 hrs
- Heatmap, pairplot 2 types of plots
- Train/Test split - Build a model to classify
5 Scikit-learn 6 hrs
- Simple classification pass/fail based on marks
- Use pretrained datasets
- Build and test a neural
6 TensorFlow/PyTorch 6–8 hrs (e.g., MNIST)
network for digit recognition
- Build simple NN
Beginner Data Science Summary:
Total Time: ~28–30 Hours
Practice: 3–4 small projects (CSV-based, classification, visualization)
Assessments:
1. Clean and visualize real-world data (e.g., IPL stats, COVID, student records)
2. Train a basic ML model and interpret accuracy
3. Create a Jupyter notebook report with charts + model
AVIH Page 6
TOPIC-11
Foundational Tools (Compulsory for All Python Students)
Time
S.No Topic Practice Tasks / Skills Assessment Test (Suggestions)
(Hours)
- Initialize repo - Create a local Git repo & push a
1 Git 2 hrs
- Add, commit, push README.md file
- Create repo - Collaborate with a friend
2 GitHub 2 hrs
- Clone, pull, push - Submit a mini project via GitHub
- Create tables
SQL - Query a student database
3 5 hrs - Insert, SELECT, UPDATE,
Basics - Solve 10 beginner SQL exercises
JOIN
- Basic structure - Build a personal webpage
4 HTML 4 hrs
- Headings, forms, tables - HTML structure quiz
- Inline, internal, external - Style your HTML page
5 CSS 4 hrs
- Styling forms - Implement a responsive layout
Foundations Summary (For Complete Beginners):
Total Time: ~17 Hours
Practice: 4–5 mini projects (web page, GitHub repo, SQL tasks)
Assessments:
1. Host a portfolio on GitHub Pages
2. Submit SQL queries for a given scenario
3. Style a form using CSS
Grand Total Summary
AVIH Page 7
Category Estimated Time (Hours)
Foundational Tools 17 hrs
Python Basics 15 hrs
Object-Oriented Programming (OOP) 6 hrs
Data Structures & Algorithms (DSA) 18 hrs
Package Managers 3 hrs
Advanced Python 10 hrs
Web Frameworks 36–46 hrs
Automation 14–16 hrs
Testing 10 hrs
Data Science 28–30 hrs
Total Estimated Time:
157 to 171 hours
To complete the entire roadmap, you'll need approximately:
13 to 15 weeks (if studying 6 days/week, 2 hours/day)
Note: Minimum 20 mini projects uploaded on GitHub.
AVIH Page 8
Eligible Branches for Python Roadmap
1. CSE (Computer Science Engineering)
2. IT (Information Technology)
3. AI & Data Science
4. Cybersecurity
5. ECE (Electronics and Communication Engineering)
6. EEE (Electrical and Electronics Engineering)
7. Mechanical Engineering
8. Civil Engineering
9. Mechatronics
10. Robotics
11. Biomedical Engineering
12. Biotechnology
13. Mathematics
14. Statistics
15. Physics
16. Applied Sciences
17. MCA (Master of Computer Applications)
18. BCA (Bachelor of Computer Applications)
AVIH Page 9