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).
| Stage | Modules | Goal |
|---|---|---|
| 1. Foundations | 1 to 3 | Write small programs with values, operators and text |
| 2. Core skills | 4 to 6 | Store data, make decisions and reuse code |
| 3. Real-world Python | 7 to 11 | Organise code, work with files, handle errors and use objects |
| 4. Applications and career | 12 to 15 | Use 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.
price = 250
quantity = 3
total = price * quantity
name = 'notebook'
print(f'{quantity} x {name} = {total}')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.
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))Stage 3: Real-world Python (modules 7 to 11)
- Module 7, Modules and Packages: split code into several files and use the standard library.
- Module 8, File Handling: read and write text and data files safely.
- Module 9, Exceptions: handle errors so your program does not crash.
- Module 10, Object-Oriented Programming: model things with classes and objects.
- Module 11, Advanced Python: generators, decorators, comprehensions and other tools that make code shorter and cleaner.
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.
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:
| Stage | Suggested time |
|---|---|
| Foundations | 2 to 3 weeks |
| Core skills | 3 to 4 weeks |
| Real-world Python | 5 to 6 weeks |
| Applications and career | 4 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
- Read the tutorial chapters in /tutorials and type every example yourself.
- Solve the exercises in /practice without looking at the answers first.
- Take the quiz in /quizzes to find weak spots.
- Go back and fix the weak spots, then try the quiz again.
- Finish with a small project from /projects that uses the new skills.
Common mistakes when following a roadmap
- Skipping the basics. Strong foundations make the later modules much easier.
- Only reading. Programming is a skill. You must type and run code to learn it.
- Moving on too soon. If you score badly on a quiz, repeat the chapter before starting the next module.
- Waiting to build projects. Even a tiny project after each module helps you remember what you learned.
- Comparing your speed with others. Finish the path at your own pace.
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.