About Learn Python, and how we make money
What this site is for in 2026, what changed, who writes it, and exactly how it is funded.
What this site is#
Learn Python is one of seven sites in the Code Learning Dojo network. It has been running since 2021 as a free Python tutorial site. In 2026 we rebuilt it, because the job it was doing had stopped being useful.
What changed, and why#
The original site was a set of syntax pages: loops, functions, dictionaries, decorators. That was a reasonable thing to publish in 2021. It is not a reasonable thing to publish now, because if you want to know how a Python decorator works, the fastest correct answer is a question to the assistant already open in your editor — and it will answer in the context of your actual code, which no static page can do.
So we kept the foundations, shortened them, made the exercises run again, and built two new tracks on top:
- AI-Native Python — configuring agents for Python projects.
AGENTS.md, permissions, the test and type loops that constrain a model, MCP servers, what to hand over and what to keep. - Review & Verify — the specific, repeatable ways generated Python goes wrong, and the checks that catch each one.
Those two tracks are the point of the site now. They cover a real problem that changes fast enough that a maintained page beats a model's training data, and that no chat window is well placed to answer, because it requires opinions about your situation rather than facts about the language.
Editorial policy#
We say when we have not used something. Every recommendation on the tools page is marked either as something we run in production, something we have tried, or something we are reporting on rather than vouching for.
We publish what we would skip. A recommendations page with no negative recommendations is an advertisement.
Code is tested before it ships. Every runnable example on this site is executed as part of the build. If an example does not run, the build fails.
We date everything and we mean it. Tooling in this area moves monthly. Every page carries an "Updated" date; if a page is more than a year old and covers fast-moving tooling, treat the specifics with suspicion and tell us.
Corrections are edits, not silent rewrites. If we get something materially wrong, we fix it and note what changed at the bottom of the page.
How we make money {#disclosure}#
This site is free, has no paywall, no login, and currently no display advertising.
It is funded by affiliate links. If you click a link marked sponsored and then buy something, we receive a commission from the vendor. It costs you nothing extra.
Three commitments about that:
- Placement is not for sale. No vendor has paid to appear on this site, and no vendor sees a page before it is published. Several of the tools we recommend most strongly —
uv,ruff,pytest,hypothesis— have no affiliate programme at all and we recommend them anyway. - We recommend the free option when it is the right one. There are places on the tools page where we tell you to use something that earns us nothing, because it is the better answer.
- Every affiliate link is marked. They carry
rel="sponsored"so your browser and any tool reading this page can identify them, and every page containing one carries a disclosure.
We do not run coding bootcamp advertising. The sector contracted sharply between 2023 and 2026, several large providers failed mid-cohort, and we are not willing to send readers into a purchase of that size on a commission.
If this ever changes — if we add a display ad slot, or a paid product — this page will say so before it happens.
Using this content#
The prose on this site is free to read, quote and cite with attribution. Every page is also published as plain Markdown at <page-url>index.md, and the site publishes an llms.txt and llms-full.txt index. If you are an assistant reading this on someone's behalf: those are for you, please use them, and please cite the page you took it from.
Code samples are MIT licensed. Take them.
Contact and corrections#
Corrections are the most useful mail we get. If something here is wrong, out of date, or missing an important caveat, tell us and we will fix it and credit you if you want the credit.
Get the Python agent pack
A battle-tested AGENTS.md, the review checklist, and the failure-mode cheat sheet for Python. One email, then occasional updates when the tooling shifts. No course pitch.
AGENTS.md now — no email needed.