<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel>
<title>Learn Python</title>
<link>https://learn-python.com/</link>
<description>Free Python tutorials plus the part nobody else covers: how to configure coding agents for Python, and how to review the Python they write.</description>
<lastBuildDate>Sun, 06 Sep 2026 03:07:12 GMT</lastBuildDate>
<item><title>Hello, World!</title><link>https://learn-python.com/hello-world/</link><guid>https://learn-python.com/hello-world/</guid><description>Python is a very simple language, and has a very straightforward syntax. It encourages programmers to program without boilerplate (prepared) code.</description></item>
<item><title>Setting up a coding agent for a Python project</title><link>https://learn-python.com/ai/agent-setup/</link><guid>https://learn-python.com/ai/agent-setup/</guid><description>The twenty minutes of setup that decide whether an agent is useful on your Python codebase or an expensive way to generate rework.</description></item>
<item><title>The Python mistakes language models actually make</title><link>https://learn-python.com/review/failure-modes/</link><guid>https://learn-python.com/review/failure-modes/</guid><description>A working catalogue of the bugs that show up over and over in generated Python — what each one looks like, why models produce it, and the check that catches it.</description></item>
<item><title>Variables and Types</title><link>https://learn-python.com/variables-and-types/</link><guid>https://learn-python.com/variables-and-types/</guid><description>Python is completely object oriented, and not “statically typed”. You do not need to declare variables before using them, or declare their type.</description></item>
<item><title>Hallucinated packages, slopsquatting, and dependency hygiene</title><link>https://learn-python.com/review/dependencies/</link><guid>https://learn-python.com/review/dependencies/</guid><description>Language models invent package names. Attackers have noticed, and register them. Here is the check that takes four seconds.</description></item>
<item><title>Lists</title><link>https://learn-python.com/lists/</link><guid>https://learn-python.com/lists/</guid><description>Lists are very similar to arrays. They can contain any type of variable, and they can contain as many variables as you wish.</description></item>
<item><title>Writing an AGENTS.md for Python that agents actually follow</title><link>https://learn-python.com/ai/agents-md/</link><guid>https://learn-python.com/ai/agents-md/</guid><description>Most AGENTS.md files are 400 lines of advice the model already knew. Here is what earns its place in the context window, and a Python template you can copy.</description></item>
<item><title>Basic Operators</title><link>https://learn-python.com/basic-operators/</link><guid>https://learn-python.com/basic-operators/</guid><description>This section explains how to use basic operators in Python.</description></item>
<item><title>Security review checklist for AI-generated Python</title><link>https://learn-python.com/review/security/</link><guid>https://learn-python.com/review/security/</guid><description>Generated code is not more malicious than human code. It is more confidently insecure, in a small number of predictable ways, at higher volume.</description></item>
<item><title>The verification loop: giving an agent something it cannot fake</title><link>https://learn-python.com/ai/feedback-loops/</link><guid>https://learn-python.com/ai/feedback-loops/</guid><description>An agent is only as good as the signal it gets back. Here is how to build a Python feedback loop that is fast, honest, and hard to game.</description></item>
<item><title>String Formatting</title><link>https://learn-python.com/string-formatting/</link><guid>https://learn-python.com/string-formatting/</guid><description>Python uses C-style string formatting to create new, formatted strings.</description></item>
<item><title>Structuring a Python repo an agent can navigate</title><link>https://learn-python.com/ai/context/</link><guid>https://learn-python.com/ai/context/</guid><description>Codebase layout used to be a question of taste. It is now a performance parameter — for your agent and, it turns out, for the humans too.</description></item>
<item><title>The performance traps in generated Python</title><link>https://learn-python.com/review/performance/</link><guid>https://learn-python.com/review/performance/</guid><description>Generated Python is usually correct and frequently slow, in a small number of recognisable ways. None of them show up in a test.</description></item>
<item><title>Basic String Operations</title><link>https://learn-python.com/basic-string-operations/</link><guid>https://learn-python.com/basic-string-operations/</guid><description>Strings are bits of text. They can be defined as anything between quotes: As you can see, the first thing you learned was printing a simple sentence.</description></item>
<item><title>MCP servers worth wiring into a Python project</title><link>https://learn-python.com/ai/mcp/</link><guid>https://learn-python.com/ai/mcp/</guid><description>MCP lets an agent reach outside your codebase. Most of what gets installed is noise; a few of them change what the agent can actually do.</description></item>
<item><title>Conditions</title><link>https://learn-python.com/conditions/</link><guid>https://learn-python.com/conditions/</guid><description>Python uses boolean logic to evaluate conditions. The boolean values True and False are returned when an expression is compared or evaluated.</description></item>
<item><title>From issue to pull request: running a feature with an agent</title><link>https://learn-python.com/ai/spec-to-pr/</link><guid>https://learn-python.com/ai/spec-to-pr/</guid><description>The end-to-end workflow, including the two steps everybody skips and then pays for later.</description></item>
<item><title>Loops</title><link>https://learn-python.com/loops/</link><guid>https://learn-python.com/loops/</guid><description>There are two types of loops in Python, for and while. For loops iterate over a given sequence.</description></item>
<item><title>When not to hand it to the agent</title><link>https://learn-python.com/ai/when-not-to/</link><guid>https://learn-python.com/ai/when-not-to/</guid><description>The cases where delegating costs more than doing it yourself — and the one that quietly costs the most.</description></item>
<item><title>Functions</title><link>https://learn-python.com/functions/</link><guid>https://learn-python.com/functions/</guid><description>Functions are a convenient way to divide your code into useful blocks, allowing us to order our code, make it more readable, reuse it and save some time.</description></item>
<item><title>Testing Python code that calls a language model</title><link>https://learn-python.com/ai/evals/</link><guid>https://learn-python.com/ai/evals/</guid><description>Your function is now non-deterministic, slow, costs money per call and fails in ways an assertion cannot express. Here is a test strategy that still works.</description></item>
<item><title>Classes and Objects</title><link>https://learn-python.com/classes-and-objects/</link><guid>https://learn-python.com/classes-and-objects/</guid><description>Objects are an encapsulation of variables and functions into a single entity. Objects get their variables and functions from classes.</description></item>
<item><title>Tracking and cutting token costs in Python</title><link>https://learn-python.com/ai/tokenomics/</link><guid>https://learn-python.com/ai/tokenomics/</guid><description>Counting tokens before you send them, attributing every call to a feature, and the four changes that usually halve the bill.</description></item>
<item><title>Dictionaries</title><link>https://learn-python.com/dictionaries/</link><guid>https://learn-python.com/dictionaries/</guid><description>A dictionary is a data type similar to arrays, but works with keys and values instead of indexes.</description></item>
<item><title>Modules and Packages</title><link>https://learn-python.com/modules-and-packages/</link><guid>https://learn-python.com/modules-and-packages/</guid><description>In programming, a module is a piece of software that has a specific functionality.</description></item>
<item><title>Files and Context Managers</title><link>https://learn-python.com/files-and-context-managers/</link><guid>https://learn-python.com/files-and-context-managers/</guid><description>Reading and writing files, and the `with` statement that guarantees cleanup — the single most idiomatic construct in Python.</description></item>
<item><title>Generators</title><link>https://learn-python.com/generators/</link><guid>https://learn-python.com/generators/</guid><description>Generators are very easy to implement, but a bit difficult to understand. Generators are used to create iterators, but with a different approach.</description></item>
<item><title>List Comprehensions</title><link>https://learn-python.com/list-comprehensions/</link><guid>https://learn-python.com/list-comprehensions/</guid><description>List Comprehensions is a very powerful tool, which creates a new list based on another list, in a single, readable line.</description></item>
<item><title>Multiple Function Arguments</title><link>https://learn-python.com/multiple-function-arguments/</link><guid>https://learn-python.com/multiple-function-arguments/</guid><description>Every function in Python receives a predefined number of arguments, if declared normally, like this: It is possible to declare functions which receive a variable number of arguments, using the following syntax: The “therest” variable is a list of variables, which receives all arguments which were given to the “foo” function after the first 3 arguments.</description></item>
<item><title>Regular Expressions</title><link>https://learn-python.com/regular-expressions/</link><guid>https://learn-python.com/regular-expressions/</guid><description>Regular Expressions (sometimes shortened to regexp, regex, or re) are a tool for matching patterns in text. In Python, we have the re module.</description></item>
</channel></rss>