Home β€Ί Curriculum β€Ί Python Career Roadmap
Updated for Python 3.12+ Β· November 2026

🧭 Python Career Roadmap
in Python

A practical Python career roadmap: five paths, what to learn in order, projects for each, reading job listings, learning habits and a 90-day plan with runnable planning tools.

Beginner 7 lessonsβ‰ˆ 47 min read by Glenn Pansensoy

What this lesson is about

Python is a general-purpose language, which is both its strength and the reason beginners feel lost. The same language powers spreadsheets automation, web back ends, data analysis, machine learning, test tooling and infrastructure scripts. Knowing Python is the entry ticket; deciding which direction to go in, and what to learn in which order, is the harder question this lesson tries to answer.

I describe five common paths: data analyst, backend developer, machine learning engineer, automation and DevOps, and QA automation. For each one I explain what the work looks like, the skills to learn in order and the projects that prove them. I deliberately do not quote salaries, demand figures or hiring statistics. Those change by country, year and employer, and invented numbers would mislead you; to find current information, read recent job listings in your region and talk to people who do the work.

Along the way we build three small tools you can reuse: a skills-gap checker that compares what a role asks for with what you know, a twelve-week plan generator and a progress tracker. They run right here with plain Python sets, dictionaries and dates. The aim is to turn a vague wish ('I want a Python job') into a concrete weekly plan that you can follow, measure and adjust. Throughout, I point to other lessons on this site, starting with the Python basics.

What you will learn

  • βœ“Compare five Python career paths by daily work and core tools
  • βœ“Order your learning: fundamentals, tools, one specialism, then breadth
  • βœ“Pick projects that demonstrate the skills each path needs
  • βœ“Read job listings to extract skills without being discouraged by wish-lists
  • βœ“Measure a skills gap with sets and turn it into a study list
  • βœ“Generate a twelve-week plan from your gaps and available hours
  • βœ“Track progress honestly with a simple log
  • βœ“Build learning habits that last: practice, review, rest and asking for help

Why programmers should learn this

  • β˜…Choosing a direction early stops you from sampling every library and finishing none of them.
  • β˜…A learning order that builds on itself means every new topic rests on things you already know, which makes it faster and less frustrating.
  • β˜…Projects that match a path give you something concrete to show and to talk about, instead of a list of courses completed.
  • β˜…Reading listings carefully tells you what employers in your own area really ask for, which is better evidence than any general claim.
  • β˜…A written plan with small weekly goals is easier to keep than motivation, and a progress log shows you that you are improving when it does not feel like it.

Five Python paths and what they involve

A data analyst answers questions with data: cleaning tables, summarising them, charting trends and explaining the result to people who decide things. The tools are SQL, spreadsheets, pandas, plotting and clear writing. A backend developer builds the server side of applications: APIs, databases, authentication and deployment, usually with Flask, Django or FastAPI. A machine learning engineer trains and ships models, which needs statistics, NumPy, scikit-learn or PyTorch, and an unglamorous amount of data preparation and evaluation.

Automation and DevOps work means writing scripts and tools that remove manual work: file processing, reports, deployment scripts, scheduled jobs, monitoring, and gluing services together. QA automation means testing software by code: writing test suites with pytest, driving browsers or APIs, and building reliable checks that run on every change. Titles overlap and differ between companies, so treat these as clusters of skills rather than strict job names.

You do not have to choose forever. All five share a core: Python fundamentals, git, the command line, reading documentation and debugging. A sensible plan is to learn that core, sample two paths with a small project each, then commit to one for a few months. Reading what real work looks like, rather than guessing from titles, is the best way to choose.

The paths as data
PATHS = {
    "data analyst": {
        "core": ["python", "sql", "pandas", "visualisation", "statistics basics"],
        "projects": ["clean and analyse a public CSV", "dashboard-style report with charts"],
    },
    "backend": {
        "core": ["python", "sql", "http", "flask or fastapi", "testing", "git"],
        "projects": ["REST API with a database", "authenticated notes service"],
    },
    "ml engineer": {
        "core": ["python", "numpy", "pandas", "scikit-learn", "statistics basics", "git"],
        "projects": ["end-to-end model with evaluation", "reproducible training script"],
    },
    "automation/devops": {
        "core": ["python", "command line", "git", "file handling", "scheduling", "logging"],
        "projects": ["report generator from messy files", "backup and clean-up tool"],
    },
    "qa automation": {
        "core": ["python", "pytest", "http", "git", "test design"],
        "projects": ["API test suite", "browser test of a demo app"],
    },
}

for name, info in PATHS.items():
    print(f"{name:18} {len(info['core'])} core skills, e.g. {', '.join(info['core'][:3])}")

shared = set.intersection(*(set(v["core"]) for v in PATHS.values()))
print("shared by every path:", sorted(shared))
Expected output
data analyst       5 core skills, e.g. python, sql, pandas
backend            6 core skills, e.g. python, sql, http
ml engineer        6 core skills, e.g. python, numpy, pandas
automation/devops  6 core skills, e.g. python, command line, git
qa automation      5 core skills, e.g. python, pytest, http
shared by every path: ['python']

Line by line

  1. 1-20A dictionary describing each path: its core skills and two example projects. The lists are starting points, not official definitions.
  2. 22-23Loop over the paths and print how many core skills each lists, with the first three.
  3. 25-26set.intersection finds the skills common to every path, here just Python itself, which shows how much you will specialise.
ℹ️

These lists are my own simplification for teaching. Real roles vary, so compare them with current job listings in your area.

What to learn, and in what order

The order matters because later topics assume earlier ones. Stage one is fundamentals: variables, data types, control flow, functions, lists and dictionaries, files and exceptions. Begin with Python basics and don't move on until you can write a small program from a blank file without copying. Stage two is working habits: virtual environments and pip, git, reading tracebacks, debugging and testing with pytest. Many beginners skip this stage and then struggle on every project.

Stage three is the toolkit that most paths use: classes, modules, JSON and CSV, requests and APIs, SQLite and SQL and type hints. Only then choose a specialism: pandas and matplotlib for data, Flask or FastAPI for back end, scikit-learn for machine learning, or Excel and email automation.

Stage four is depth: algorithms and data structures for interviews and for understanding performance, packaging, clean code, asynchronous code and deployment. Resist breadth for its own sake. One path learned to a working project is worth more than a shallow tour of everything. The generator later in this lesson takes your gaps and spreads them across twelve weeks following this order.

python
STAGES = [
    ("1 Fundamentals", ["variables", "control flow", "functions", "lists and dicts", "files", "exceptions"]),
    ("2 Working habits", ["venv and pip", "git", "debugging", "pytest"]),
    ("3 Toolkit", ["classes", "modules", "json and csv", "http and apis", "sql", "type hints"]),
    ("4 Specialism", ["path-specific libraries", "one real project"]),
    ("5 Depth", ["algorithms", "packaging", "clean code", "deployment"]),
]

order = 0
for stage, topics in STAGES:
    print(stage)
    for topic in topics:
        order += 1
        print(f"  {order:2}. {topic}")
print("total topics:", order)
Expected output
1 Fundamentals
   1. variables
   2. control flow
   3. functions
   4. lists and dicts
   5. files
   6. exceptions
2 Working habits
   7. venv and pip
   8. git
   9. debugging
  10. pytest
3 Toolkit
  11. classes
  12. modules
  13. json and csv
  14. http and apis
  15. sql
  16. type hints
4 Specialism
  17. path-specific libraries
  18. one real project
5 Depth
  19. algorithms
  20. packaging
  21. clean code
  22. deployment
total topics: 22

Line by line

  1. 1-6Each stage is a name and a list of topics, in the order I suggest learning them.
  2. 8-14Walk through the stages, numbering topics across stages so the whole list reads as one sequence.
  3. 15Print how many topics there are; a long list is normal, so move one stage at a time.

Projects that fit each path

A project is where scattered knowledge becomes skill. Choose one that matches your path and that has real inputs, because real data is messy and teaches the most. For a data analyst, download a public dataset, clean it with pandas, answer three questions and write the findings in plain language with charts. For a backend learner, build a small API with a database, validation, authentication and tests, and deploy it.

For machine learning, resist jumping to a neural network. Build a complete pipeline with a baseline model, proper train and test splits, an honest evaluation and a README that says what the model cannot do. For automation, find a boring task you actually do, such as renaming files, merging reports or sending summary emails, and automate it with logging and a dry-run mode. For QA automation, write tests for a public demo application or your own API, include both API-level and browser-level checks and make them reliable.

Whatever the path, finish the unglamorous parts: handle errors, add tests, write the README and explain your decisions. Those parts are what the lessons on project ideas and portfolio and GitHub focus on. Keep each project small enough to complete in two to four weeks; a finished small project teaches more than an unfinished large one.

python
PROJECTS = {
    "data analyst": ["analyse a public CSV and write up three findings", "automated weekly report with charts"],
    "backend": ["REST API with SQLite and tests", "URL shortener with authentication"],
    "ml engineer": ["baseline vs improved model with an honest evaluation", "prediction script with saved model"],
    "automation/devops": ["folder organiser with dry-run mode", "log summariser that emails a digest"],
    "qa automation": ["pytest suite for a small API", "page-object tests for a demo site"],
}

QUALITY = ["tests", "README", "error handling", "sample data", "decision notes"]

for path, ideas in PROJECTS.items():
    print(path)
    for idea in ideas:
        print("  -", idea)
print()
print("Every project gets:", ", ".join(QUALITY))
Expected output
data analyst
  - analyse a public CSV and write up three findings
  - automated weekly report with charts
backend
  - REST API with SQLite and tests
  - URL shortener with authentication
ml engineer
  - baseline vs improved model with an honest evaluation
  - prediction script with saved model
automation/devops
  - folder organiser with dry-run mode
  - log summariser that emails a digest
qa automation
  - pytest suite for a small API
  - page-object tests for a demo site

Every project gets: tests, README, error handling, sample data, decision notes

Line by line

  1. 1-7Two project ideas per path, each small enough to finish.
  2. 9A shared quality checklist that turns any idea into portfolio material.
  3. 11-15Print each path with its ideas.
  4. 17Remind yourself that the checklist applies to all of them.

Reading job listings without panic

A job listing is a wish-list written by someone who may not know exactly what the job needs. Treat it as data, not as a verdict. Collect five to ten listings for the kind of role you want in your region, and look for what repeats. Skills that appear in most listings are your priority; skills that appear once are noise. Separate required from 'nice to have', and notice the tools you can learn in weeks (such as git or pytest) from the ones that take longer (such as a cloud platform).

You do not need to match every line before you apply or practise. The point of the exercise is to build a picture of the gap, not to prove you are unready. Listings also reveal vocabulary: if five of them mention 'REST', 'CI' and 'unit tests', then those are the words to learn and use in your own project descriptions. Do not rely on general claims about what the market wants; read current listings and talk to practitioners instead.

Sets make the gap precise. Write the skills a listing asks for as a set, write the skills you can demonstrate as another set, and subtract. The difference is your study list, and the intersection is what to emphasise. The next example does this across several listings and counts how often each missing skill appears, so you can order your study list by how often it is requested.

python
from collections import Counter

LISTINGS = [
    {"python", "sql", "git", "flask", "docker", "testing"},
    {"python", "sql", "git", "fastapi", "testing", "aws"},
    {"python", "git", "django", "sql", "docker"},
    {"python", "sql", "testing", "linux", "git"},
]

MY_SKILLS = {"python", "git", "linux", "testing"}

def gap_report(listings, mine):
    wanted = Counter()
    for skills in listings:
        wanted.update(skills)
    missing = {s: n for s, n in wanted.items() if s not in mine}
    strengths = sorted(s for s in wanted if s in mine)
    ordered = sorted(missing.items(), key=lambda kv: (-kv[1], kv[0]))
    return strengths, ordered

strengths, ordered = gap_report(LISTINGS, MY_SKILLS)
print("already have:", strengths)
for skill, count in ordered:
    print(f"learn {skill:8} (asked in {count} of {len(LISTINGS)})")

print("covered by listing 1:", sorted(LISTINGS[0] & MY_SKILLS))
print("missing for listing 1:", sorted(LISTINGS[0] - MY_SKILLS))
Expected output
already have: ['git', 'linux', 'python', 'testing']
learn sql      (asked in 4 of 4)
learn docker   (asked in 2 of 4)
learn aws      (asked in 1 of 4)
learn django   (asked in 1 of 4)
learn fastapi  (asked in 1 of 4)
learn flask    (asked in 1 of 4)
covered by listing 1: ['git', 'python', 'testing']
missing for listing 1: ['docker', 'flask', 'sql']

Line by line

  1. 1Counter counts how many times each skill appears.
  2. 3-8Four invented listings as sets of skills; replace them with real ones you collect.
  3. 10The skills you can already demonstrate.
  4. 12-19Count requests across listings, split skills into ones you have and ones you lack, and sort the missing ones by how often they were asked, then alphabetically.
  5. 21-24Print the strengths and a ranked study list.
  6. 26-27Set operators for a single listing: & is what you share and - is what is missing.
πŸ’‘

Collect real listings in a plain text file and update your skill sets as you learn. The gap should shrink over weeks.

A twelve-week plan generator

A plan is a promise to your future self, so make it small and honest. Decide how many hours per week you really have, not how many you wish you had. Break your study list into topics of roughly one week each, put the foundations first, and end each four-week block with a project milestone: a small thing finished and published, however modest.

The generator below takes a list of topics in your chosen order and an hours-per-week number, then spreads the topics across twelve weeks, reserves the last week of each four-week block for a project and review, and prints a table. Because it is plain Python, you can change the rules, for example reserving a weekly review hour or making the project week longer.

A plan is a draft you update, not a contract. If a topic takes two weeks, move the following ones and carry on; what matters is that you keep moving and that your plan always reflects what you will do next week. Adjust it every Sunday evening in ten minutes.

python
def make_plan(topics, hours_per_week, weeks=12):
    plan = []
    queue = list(topics)
    for week in range(1, weeks + 1):
        if week % 4 == 0:
            block = week // 4
            plan.append((week, f"Project milestone {block}: build, test and write up", hours_per_week))
        elif queue:
            plan.append((week, f"Learn: {queue.pop(0)}", hours_per_week))
        else:
            plan.append((week, "Practice and review", hours_per_week))
    return plan, queue

topics = ["functions and files", "pytest and debugging", "git and GitHub", "sql and sqlite",
          "http and requests", "flask basics", "authentication", "deployment"]

plan, leftover = make_plan(topics, hours_per_week=8)
for week, task, hours in plan:
    print(f"Week {week:2} ({hours}h): {task}")
print("not scheduled:", leftover)
print("total hours:", sum(h for _, _, h in plan))
Expected output
Week  1 (8h): Learn: functions and files
Week  2 (8h): Learn: pytest and debugging
Week  3 (8h): Learn: git and GitHub
Week  4 (8h): Project milestone 1: build, test and write up
Week  5 (8h): Learn: sql and sqlite
Week  6 (8h): Learn: http and requests
Week  7 (8h): Learn: flask basics
Week  8 (8h): Project milestone 2: build, test and write up
Week  9 (8h): Learn: authentication
Week 10 (8h): Learn: deployment
Week 11 (8h): Practice and review
Week 12 (8h): Project milestone 3: build, test and write up
not scheduled: []
total hours: 96

Line by line

  1. 1-3The function takes the ordered topics and your weekly hours, and copies the topics into a queue we can pop from.
  2. 4-6Every fourth week is reserved for a project milestone.
  3. 7-8Other weeks take the next topic from the front of the queue.
  4. 9-10If topics run out, the week becomes practice and review.
  5. 11Return the plan and anything that did not fit.
  6. 13-14Eight topics for 12 weeks; with three project weeks there is room for nine topic weeks.
  7. 16-20Generate and print the plan, then list anything left over and add up the hours.

Tracking progress and building learning habits

Progress is hard to see from the inside, so write it down. A simple log of date, minutes studied and what you did is enough. Looking back after a month shows that your steady effort added up, even if some days felt useless. The tracker below stores log entries as dictionaries and summarises the total time, the number of days you studied and the current streak of consecutive days.

I treat streaks carefully. They motivate some people and discourage others after one missed day, so I prefer a weekly goal such as four sessions rather than seven in a row. Whatever measure you choose, rest days are part of learning; sleep is when much of the consolidation happens, and burnout ends more learning journeys than difficulty does.

Habits that work: study at the same time each day, write code instead of only watching videos, read other people's code, explain what you learned in writing, and revisit old projects to improve them. Ask for help after you have tried for a set time, say thirty minutes, and when you ask, show what you tried and the exact error. Find a community or a study partner if you can; reviewing each other's code is valuable for both.

python
from datetime import date, timedelta

LOG = [
    {"day": date(2026, 3, 2), "minutes": 60, "what": "functions practice"},
    {"day": date(2026, 3, 3), "minutes": 45, "what": "pytest basics"},
    {"day": date(2026, 3, 4), "minutes": 90, "what": "mini project"},
    {"day": date(2026, 3, 6), "minutes": 30, "what": "git review"},
    {"day": date(2026, 3, 7), "minutes": 75, "what": "sql queries"},
    {"day": date(2026, 3, 8), "minutes": 60, "what": "sql project"},
]

def summarise(log):
    days = sorted({e["day"] for e in log})
    total = sum(e["minutes"] for e in log)
    best = current = 1
    for earlier, later in zip(days, days[1:]):
        current = current + 1 if later - earlier == timedelta(days=1) else 1
        best = max(best, current)
    return {"days": len(days), "hours": round(total / 60, 1), "longest_streak": best}

def weekly_goal(log, week_start, sessions=4):
    week_days = {e["day"] for e in log if week_start <= e["day"] < week_start + timedelta(days=7)}
    return len(week_days), len(week_days) >= sessions

print(summarise(LOG))
count, met = weekly_goal(LOG, date(2026, 3, 2))
print("sessions this week:", count, "goal met:", met)
Expected output
{'days': 6, 'hours': 6.0, 'longest_streak': 3}
sessions this week: 6 goal met: True

Line by line

  1. 1Dates are the only thing we need from the standard library.
  2. 3-10A log of entries: when, for how long and what you worked on.
  3. 12-19Collect distinct study days, add up the minutes and walk through consecutive pairs of days to find the longest streak.
  4. 21-23Count the distinct study days in one week and compare them with the weekly goal.
  5. 25-27Print the summary and the weekly result.
πŸ’‘

Choose a weekly goal you can meet on a bad week. A goal you meet keeps you going; a goal that is always missed teaches you to stop.

A 90-day plan template

Here is the template I suggest when someone asks where to begin. Days 1 to 30 are for foundations and habits: fundamentals, git, a virtual environment, pytest and one small finished project. Days 31 to 60 are for your chosen path: learn its main library or framework and build the first path-specific project with real data. Days 61 to 90 are for depth and visibility: improve the project, write the README and decision notes, add tests, and publish it on GitHub as covered in portfolio and GitHub.

Each month ends with a review of three questions: what did I finish, what is still unclear and what should I drop or add. Keep the plan in a text file or in your repository so that you can edit it. Adjust for the time you have: eight hours a week produces a smaller result than twenty, and that is fine as long as the direction is steady.

Practise for interviews alongside the projects rather than after them. Short, regular practice on practice exercises, interview questions and data structures beats cramming. If you plan to earn money from your skills before a first job, see freelancing with Python for how to scope work honestly.

The template (plain text)run on your computer
Days 1-30   Foundations
  - Python fundamentals, functions, files, exceptions
  - git, virtual environments, pytest
  - Finish one small project (CLI or script)
  - Review: what did I finish? what is unclear?

Days 31-60  Path skills
  - Learn the main library or framework for my path
  - Build a project with real data or a real service
  - Read three job listings and update my gap list
  - Review: what should I drop or add?

Days 61-90  Depth and visibility
  - Add tests, error handling and a README
  - Publish on GitHub with decision notes
  - Practise explaining the project out loud
  - Review: plan the next 90 days

Line by line

  1. 1-5The first month builds the base and ends with a finished small project.
  2. 7-11The second month moves to your chosen path and uses job listings to check your direction.
  3. 13-17The third month polishes, publishes and practises explaining your work; the last review sets the next plan.
Turn the plan into a checklist you can tick off
PLAN = {
    "Foundations": ["fundamentals", "git and venv", "pytest", "small project"],
    "Path skills": ["main library", "real-data project", "job listing review"],
    "Depth": ["tests and README", "publish on GitHub", "explain out loud"],
}

done = {"fundamentals", "git and venv", "pytest", "small project", "main library"}

total = sum(len(items) for items in PLAN.values())
finished = 0
for phase, items in PLAN.items():
    marks = [("x" if item in done else " ") for item in items]
    finished += marks.count("x")
    print(phase)
    for mark, item in zip(marks, items):
        print(f"  [{mark}] {item}")

print(f"progress: {finished}/{total} ({round(100 * finished / total)}%)")
next_up = next((i for items in PLAN.values() for i in items if i not in done), None)
print("next up:", next_up)
Expected output
Foundations
  [x] fundamentals
  [x] git and venv
  [x] pytest
  [x] small project
Path skills
  [x] main library
  [ ] real-data project
  [ ] job listing review
Depth
  [ ] tests and README
  [ ] publish on GitHub
  [ ] explain out loud
progress: 5/10 (50%)
next up: real-data project

Line by line

  1. 1-5The plan as a dictionary of phases and their tasks.
  2. 7The tasks you have already completed.
  3. 9-16For each phase mark tasks done or not, count the finished ones and print them as a checklist.
  4. 18-20Show an overall progress figure and use next() with a generator to find the first unfinished task.

Common mistakes

❌ Hopping between languages and courses

Starting something new whenever the current topic gets hard means you never reach the part where things click. Pick one path and a small number of resources, and finish a project before switching.

❌ Watching tutorials without writing code

Following along feels like progress but it does not build the skill of starting from a blank file. After each lesson, close it and rebuild the example from memory, then change it.

❌ Treating a job listing as a hard checklist

Listings are wish-lists. Look for skills that repeat across several listings and ignore the one-off items. Do not let a long list stop you from building and applying.

❌ Skipping the working habits

Git, virtual environments, testing and debugging look boring next to frameworks, but they are used in every path. Learning them early makes every later project easier.

❌ Planning too much and never starting

A twelve-month plan that is never opened is worth less than one session today. Make a small plan, begin this week, and revise it each Sunday.

Quick quiz

Tap an answer. I explain every one, right or wrong.

Q1. Which skill set is shared by all five paths in this lesson?

Q2. What does wanted_set - my_skills give you?

Q3. How should you treat a long job listing?

Q4. When should you choose a specialism?

Q5. What is a good size for a portfolio project while learning?

Q6. Why does this lesson avoid salary and market figures?

Frequently asked questions

Learn the core first, then try one small project in two paths and see which work you enjoy. Data analysis and automation have gentle starts; backend and ML need more background. Your interests and the listings in your area are the best guide.

Requirements differ by employer and country, so read the listings you are interested in. Many roles ask for demonstrable skill, and a portfolio of finished, explained projects helps you show it. I cannot promise outcomes either way.

There is no honest single answer; it depends on your hours, background, path and local conditions. Use a plan with milestones, build projects, get feedback and measure your gap against real listings instead of a fixed timeline.

Learn fundamentals and build things first. Algorithms and data structures matter for interviews and for understanding performance, so add steady practice from about the second month, not as a first step.

Everyone does. Move the unfinished topics forward, shrink the weekly goal if it was too ambitious and keep the next session small. A plan that adapts is better than one you abandon.

Key takeaways

  • βœ“Python supports many paths, such as data analyst, backend, ML engineer, automation or DevOps and QA automation, all sharing a core of fundamentals, git and debugging.
  • βœ“Learn in order: fundamentals, working habits, a common toolkit, one specialism, then depth.
  • βœ“Match each path with small, finished projects that include tests, a README and decision notes.
  • βœ“Read several job listings, count repeated skills and use set difference to build a ranked study list.
  • βœ“Turn gaps into a twelve-week plan and a 90-day template, and track sessions to see real progress.
  • βœ“Keep habits sustainable, ask for help with context, and check current local sources instead of trusting invented figures.