Skip to main content

Learning Resources

Roadmap

A day-wise roadmap to learn Python in 30 days. Each day lists the concepts to cover, the outcome you should be able to demonstrate, and the hours to prepare — with every concept linked to its lesson.

Day-Wise Plan

Complete Python Programming Roadmap

A structured 30-day plan that takes you from your first print() to data structures, OOP, generators, the standard library, and a project you can demo. Every day lists the concepts to study, the outcome you should be able to demonstrate, and the hours to budget. Concept names link straight to the full lesson.

30Days
7Phases
104Total hours
3–4Hours / day

Choose Your Pace

TrackDurationHow to follow itBest for
Fast track 15 days About 7 hours a day. Pair up two consecutive days from each phase. Full-time learners and placement season
Standard track 30 days About 3–4 hours a day, exactly as the table below is laid out. College students learning alongside classes
Relaxed track 60 days About 2 hours a day. Split each day of the table across two sittings. Working professionals and evening learners

Phase 1 — Foundation

Day 1 – Day 6 · 17 hrs

Goal: Install Python 3 and master the basics: syntax, types, input/output, operators, and control flow.

Day Concepts to cover Outcome Hours
Day 1 You can explain how CPython runs code, install Python, and run a first script from the terminal and the REPL. 2 hrs
Day 2
  • Python Fundamentals
  • Indentation, keywords, identifiers
  • Comments, PEP 8 naming, if __name__ == "__main__"
You can read a Python file, spot indentation errors, and name variables the PEP 8 way. 3 hrs
Day 3
  • Data Types & I/O
  • int, float, str, bool, None, type()
  • input() returns str, int()/float() casting, f-strings
You can read numbers from the user, convert them correctly, and print neatly formatted output with f-strings. 3 hrs
Day 4
  • Operators
  • / vs //, %, **, and/or/not
  • is vs ==, in, chained comparisons
You can evaluate expressions by hand and avoid the / vs // and is vs == traps. 3 hrs
Day 5 You can implement branching logic with if/elif and match-case, and know which values are falsy. 3 hrs
Day 6
  • Loops
  • for with range(), while, nested loops
  • break, continue, loop else, enumerate()
You can write any loop pattern, use enumerate instead of manual counters, and debug infinite while loops. 3 hrs
Phase total 17 hrs

Phase 2 — Strings & Data Structures

Day 7 – Day 11 · 17 hrs

Goal: Work fluently with strings and the four built-in collections: list, tuple, set, and dict.

Day Concepts to cover Outcome Hours
Day 7
  • Strings
  • Indexing, slicing, immutability
  • split, join, strip, replace, find
You can solve string programs with slicing and methods, and explain why "".join() beats + in a loop. 3 hrs
Day 8
  • Lists
  • append, extend, insert, pop, remove
  • sort() vs sorted(), copying vs aliasing
You can manipulate lists confidently and explain why b = a does not copy a list. 3 hrs
Day 9
  • Tuples
  • Sets
  • Packing/unpacking, set union/intersection
You can return multiple values with tuples and remove duplicates or test membership fast with sets. 3 hrs
Day 10
  • Dictionaries
  • get(), items(), setdefault, update
  • Insertion order, hashable keys
You can build word counts and lookup tables with dicts and avoid KeyError with get(). 4 hrs
Day 11 You can rewrite simple loops as readable comprehensions and solve 4–5 mixed problems without looking up syntax. 4 hrs
Phase total 17 hrs

Phase 3 — Functions, Modules & Files

Day 12 – Day 17 · 19 hrs

Goal: Break problems into reusable functions, organise code into modules, and persist data in files.

Day Concepts to cover Outcome Hours
Day 12
  • Functions
  • def, return, docstrings
  • Functions as first-class objects
You can design small functions with clear names, docstrings, and return values instead of prints. 3 hrs
Day 13 You can call functions with positional/keyword arguments, use *args/**kwargs, and sort with key=lambda. 4 hrs
Day 14
  • Recursion
  • Base case, call stack, recursion limit
  • Recursion vs iteration
You can write factorial/Fibonacci-style recursion safely and explain RecursionError. 3 hrs
Day 15 You can predict which variable a name refers to and build a counter with a closure and nonlocal. 3 hrs
Day 16 You can split code into modules, create a virtual environment, and install packages with pip and requirements.txt. 3 hrs
Day 17
  • File Handling
  • open() modes, with statement, encoding
  • pathlib.Path basics
You can read and write text files safely with with open(...) and process a file line by line. 3 hrs
Phase total 19 hrs

Phase 4 — Object-Oriented Python

Day 18 – Day 22 · 18 hrs

Goal: Model problems with classes: encapsulation, inheritance, abstraction, polymorphism, and dunder methods.

Day Concepts to cover Outcome Hours
Day 18 You can write a class with an __init__ that validates data and create several independent objects. 4 hrs
Day 19 You can explain what self is and protect attributes with naming conventions and @property setters. 3 hrs
Day 20 You can choose between instance, class, and static methods and write a from_string() factory. 3 hrs
Day 21 You can build a small hierarchy with an abstract base class and explain when composition is better. 4 hrs
Day 22 You can demonstrate method overriding and duck typing, and make objects print and compare nicely. 4 hrs
Phase total 18 hrs

Phase 5 — Advanced Python

Day 23 – Day 26 · 15 hrs

Goal: Handle failures, stream data lazily, add reusable behaviour, and run work concurrently.

Day Concepts to cover Outcome Hours
Day 23 You can catch specific exceptions, raise your own, and never write a bare except that hides bugs. 3 hrs
Day 24 You can write a generator that streams a large file lazily and explain the iterator protocol. 4 hrs
Day 25 You can write a timing/logging decorator and a custom context manager that always cleans up. 4 hrs
Day 26 You can speed up I/O-bound work with a thread pool, protect shared state with a Lock, and explain the GIL. 4 hrs
Phase total 15 hrs

Phase 6 — Standard Library

Day 27 – Day 28 · 8 hrs

Goal: Use the batteries-included modules that solve everyday problems without third-party packages.

Day Concepts to cover Outcome Hours
Day 27 You can validate and extract data with regex and load/save records as JSON and CSV. 4 hrs
Day 28 You can use Counter, defaultdict, and deque, implement a stack/queue, and do date arithmetic with timedelta. 4 hrs
Phase total 8 hrs

Phase 7 — Interview Prep & Project

Day 29 – Day 30 · 10 hrs

Goal: Revise for interviews and ship a Python project you can demo.

Day Concepts to cover Outcome Hours
Day 29 You can answer data-structure, OOP, and mutability staples out loud and score well on the MCQ set. 5 hrs
Day 30 You have a finished, demonstrable Python project you can walk an interviewer through end-to-end. 5 hrs
Phase total 10 hrs

After Day 30

Finishing the table is the start, not the finish. Keep momentum with these next steps.

Next stepWhy it matters
Build one more OOP + files project Employers trust working code far more than a list of topics.
Practice DSA with lists, dicts, sets, and deque Those four plus Counter and heapq are the daily toolkit for coding rounds.
Revise Q&A and the cheatsheet weekly Spaced repetition keeps mutability, scope, generators, and decorators ready under pressure.
Explore Django, Flask/FastAPI, data science (NumPy, pandas), or automation next All of them assume solid functions, OOP, exception, and module habits from Phases 3–6.