Guides & Roadmaps

Python Learning Roadmap: The Order of the 15 Modules

Learning Python is much easier when you follow a clear order. If you jump straight to classes or databases before you understand variables and loops, many things will feel confusing. This roadmap shows the order of the 15 modules on this site and explains why each one comes where it does.

You do not need to rush. A steady pace of a few short sessions every week works better than one very long weekend. Use this guide as a map: find where you are today, and see what comes next.

How the roadmap is organised

The 15 modules are grouped into four stages. Each stage builds on the one before it. In every module you can read the chapters in the tutorials section (/tutorials), solve exercises in the practice section (/practice), test yourself in the quizzes section (/quizzes) and build something real in the projects section (/projects).

StageModulesGoal
1. Foundations1 to 3Write small programs with values, operators and text
2. Core skills4 to 6Store data, make decisions and reuse code
3. Real-world Python7 to 11Organise code, work with files, handle errors and use objects
4. Applications and career12 to 15Use databases and APIs, test code, build apps and prepare for jobs

Stage 1: Foundations (modules 1 to 3)

Module 1, Fundamentals teaches what Python is, how to run a program, and how variables, numbers and print() work. Everything else depends on this, so do not skip it even if it feels easy.

Module 2, Operators covers arithmetic, comparison and logical operators. You need these to calculate values and to write conditions later. Module 3, Strings shows how to work with text: slicing, methods and formatting. Text is everywhere in real programs, so this module pays off quickly.

A small program using the first three modules
price = 250
quantity = 3
total = price * quantity
name = 'notebook'
print(f'{quantity} x {name} = {total}')
3 x notebook = 750

Stage 2: Core skills (modules 4 to 6)

Module 4, Data Structures introduces lists, tuples, dictionaries and sets. These are the containers that hold your data. Module 5, Control Flow teaches if, for and while, which let your program make decisions and repeat work. Module 6, Functions shows how to give a block of code a name and reuse it.

This stage is where programming starts to feel powerful. You can now read a list of values, loop over it and wrap the logic in a function.

Data structures, control flow and a function together
def count_long_words(words, size):
    count = 0
    for word in words:
        if len(word) > size:
            count += 1
    return count

print(count_long_words(['sun', 'planet', 'galaxy'], 4))
2

Stage 3: Real-world Python (modules 7 to 11)

Exceptions come right after files because file work is the first place you meet errors such as a missing file. Object-oriented programming comes after you are comfortable with functions, because methods are just functions that belong to a class.

If a topic in this stage feels hard, go back and repeat one chapter from module 6. Most problems with classes or decorators come from a weak understanding of functions.

Stage 4: Applications and career (modules 12 to 15)

Module 12, Databases and APIs shows how to store data permanently and how to talk to other services over the web. Module 13, Testing and Debugging teaches you to prove that your code works and to find bugs calmly. Module 14, Application Development puts many skills together in complete programs. Module 15, Career and Interview helps you prepare for jobs, with common questions and advice on how to present your work.

How much time does each stage need?

Everyone learns at a different speed, so treat these numbers as a rough guide only. If you can study about five hours a week, a possible pace is:

StageSuggested time
Foundations2 to 3 weeks
Core skills3 to 4 weeks
Real-world Python5 to 6 weeks
Applications and career4 to 6 weeks

If you already know another programming language, you can move faster through stages 1 and 2 and spend more time on stage 3.

A simple routine for every module

  1. Read the tutorial chapters in /tutorials and type every example yourself.
  2. Solve the exercises in /practice without looking at the answers first.
  3. Take the quiz in /quizzes to find weak spots.
  4. Go back and fix the weak spots, then try the quiz again.
  5. Finish with a small project from /projects that uses the new skills.

Common mistakes when following a roadmap

What to do next

Start with module 1 in /tutorials. When you have finished a module, write down one sentence about what you can now do that you could not do before. After a few weeks this list becomes proof of your progress, and it helps you decide what to learn next. When you reach module 14, choose a project from /projects that matches your interests, and keep it small enough to finish.

More guides

« All guides