Languages

Python roadmap

Learn a friendly, widely used language that opens doors to web, data, automation and AI.

  • About 4 to 6 months
  • 6 to 8 hours a week
  • 5 stages

Tick each stage as you finish it. Your progress stays on this device.

Start stage 1

Time needed

About 4 to 6 months

6 to 8 hours a week. Python is a language, not a job. Pair it with a direction from stage 4.

Before you start

  • You can install software on your computer
  • No programming experience is required
  • You are willing to practise a little every day

Not covered here

A full career path by itself. After stage 4, continue with Backend, Data Analyst, Machine Learning or AI Engineer.

  1. Stage 14 to 5 weeks

    Learn the core language

    Write small programs that read input and make decisions.

    Learn

    • Variables, numbers, text and booleans
    • Conditions and loops
    • Functions and error handling
    • Lists, dictionaries, sets and tuples

    Tools

    • Python 3
    • VS Code or PyCharm
    • The Python tutorial in the official docs

    Build

    • A number-guessing game
    • A program that reads a text file and counts words

    CheckpointYou can solve small problems on your own and read error messages calmly.

  2. Stage 24 to 5 weeks

    Structure bigger programs

    Organise code so it is easy to change.

    Learn

    • Classes and objects
    • Modules and packages
    • Reading and writing JSON and CSV files
    • Virtual environments and pip

    Tools

    • venv
    • pip
    • Git and GitHub

    Build

    • A contact book that saves to a file
    • A small package you can import in another project

    CheckpointYou can split a program into modules and run it on someone else's computer.

  3. Stage 33 to 4 weeks

    Write reliable code

    Test and tidy what you write.

    Learn

    • Unit tests
    • Type hints
    • Debugging with a debugger, not only print
    • Code style and linting

    Tools

    • pytest
    • mypy or pyright
    • Ruff or flake8

    Build

    • Add tests to an earlier project
    • Fix every linter warning in one program

    CheckpointYour tests catch a bug you introduce on purpose.

  4. Stage 46 to 8 weeks

    Choose a direction

    Use Python to build something real.

    Learn

    • Web: build an API
    • Data: analyse a data set with pandas
    • Automation: scripts for files, email and web pages
    • AI: call a language model from code

    Tools

    • FastAPI or Django
    • pandas and Jupyter
    • Requests and Beautiful Soup

    Build

    • One project in your chosen direction, finished and documented
    • A script that saves you real time every week

    CheckpointYou have one project you are proud to show.

  5. Stage 5Ongoing

    Go deeper and get hired

    Handle larger problems and explain your choices.

    Learn

    • Async code and concurrency
    • Packaging and publishing a library
    • Data structures and algorithms for interviews
    • Reading open-source code

    Tools

    • asyncio
    • PyPI or a private package index
    • A coding practice site

    Build

    • Publish one small package or contribute a fix to an open-source project
    • Solve 50 practice problems and write notes

    CheckpointYou can explain how one Python feature works under the hood and when you would not use it.

Afterwards

Roles this prepares you for

All career paths

Tools and model names change quickly. Treat the names here as examples, and check each tool's own documentation for what is current.