A practical Python learning hub

Learn Python by building what matters now.

Clear learning paths and reviewed resources for Python foundations, AI agents, automation, and production applications.

No account required · Primary sources first · Review dates shown

flypython / learning-map.py
01
Write solid Python

Core language, projects, types, tests

Start
02
Ship a useful app

APIs, data, errors, deployment

Build
03
Automate real work

Repeatable workflows with guardrails

Apply
04
Build reliable agents

Tools, state, evals, observability

Advance
Direction before volumeKnow what to learn next and why.
Build, test, verifyMove from examples to working systems.
Open resource foundation ↗Connected to the public FlyPython Python repository.

Start here

Build and test a small Python agent loop.

Run a no-key example, inspect each boundary, and test its failure paths before choosing a larger stack.

Flagship guide15–20 minPython 3.12+

Build a testable Python agent loop without an API key

Download a complete Python 3.12 example, run it locally, verify three failure boundaries, and see where a real model belongs.

Read the guide →
agent_loop.py
result = run_agent(
    Task("My API request times out"),
    max_steps=3,
)

for action in result.trace:
    print(action)

print(result.answer)