← All roadmaps
Programming · Very High demand

Python roadmap

Python is the most beginner-friendly language for jobs in software, data, and AI. It powers backend services, automation, data analysis, and machine learning pipelines.

beginner

Python Foundations

About 4 weeks

Topics

  • Variables, data types, operators, and type conversion
  • Strings, lists, tuples, dictionaries, and sets
  • Conditionals, for/while loops, break and continue
  • Functions, arguments, return values, and scope
  • Reading and writing files with pathlib
  • Error handling with try, except, and finally
  • Virtual environments, pip, and running scripts

Free resources

Hands-on practice

  1. Write a CLI to-do app with argparse and file persistence
  2. Build a number-guessing game with input validation and replay
  3. Automate renaming and organizing 50 files using pathlib
  4. Solve 15 easy HackerRank Python problems
Milestone checkpoint: You can write and debug a 200-line Python program on your own: the CLI to-do app runs, handles bad input gracefully, saves data to a file, and you can explain functions, scope, and try/except in your code.
intermediate

Python for Real Projects

About 6 weeks

Topics

  • OOP: classes, inheritance, dunder methods, properties
  • Decorators, generators, and context managers
  • Fetching and parsing JSON APIs with requests
  • Unit testing with pytest and fixtures
  • Logging, debugging with pdb, and profiling basics
  • Packaging projects with pyproject.toml and venv
  • Threading vs asyncio: when to use which
  • Working with dates, regex, and CSV/JSON data

Free resources

Hands-on practice

  1. Build a REST client that fetches, caches, and summarizes a public API
  2. Write a 20+ test pytest suite for your to-do app
  3. Create a retry/timeout decorator with logging
  4. Build a polite rate-limited web scraper with threads
Milestone checkpoint: You can ship a tested Python project: the REST client has clean OOP design, 20+ passing pytest tests, logging, a pyproject.toml, and you can explain decorators and the asyncio event loop.
advanced

Professional Python Engineering

About 8 weeks

Topics

  • Design patterns in Python: factory, strategy, observer
  • Type hints, mypy, and static analysis
  • Profiling with cProfile and performance optimization
  • The GIL, multiprocessing, and memory management
  • Building async web APIs with FastAPI
  • Publishing packages to PyPI with CI
  • C extensions and Cython overview
  • Reading and contributing to open-source codebases

Free resources

Hands-on practice

  1. Build and deploy a FastAPI service with async endpoints and tests
  2. Type-annotate a 1000-line project and make mypy pass cleanly
  3. Profile and 2x the speed of a slow data-processing script
  4. Publish a small utility package to PyPI with GitHub Actions CI
Milestone checkpoint: You build production Python: the FastAPI service is typed, tested, profiled, and deployed; your PyPI package installs cleanly; you can explain the GIL and when to use multiprocessing.

Track your progress

Sign in to mark stages complete and watch your roadmap fill up on your dashboard.

Sign in