Real Python
Tutorials, courses and articles that teach Python programming, from language basics to web development, testing and data science.
Tutorials, courses and articles that teach Python programming, from language basics to web development, testing and data science.
Learn how Python bindings let you call C or C++ code from Python, and compare tools like ctypes, CFFI, PyBind11, and Cython.
Learn how to set up Git, create a repository, track and commit changes, undo mistakes with git reset, and ignore files using .gitignore.
Test your understanding of Python namespace packages, how they differ from regular packages, and how to build, publish, and install them with uv.
Learn how to set up a Python project for agentic coding, with the tests, types, and hooks that give AI coding agents fast feedback.
Check how well you can set up a Python project for agentic coding, with the tests, type checks, linting, and hooks that give AI agents fast feedback.
How to measure an LLM in 2026, from perplexity, BLEU and pass@k to RAG faithfulness, LLM-as-a-judge, agent reliability and error bars, with worked examples.
· 36 min read
10 advanced prompt engineering techniques for LLM apps, including self-consistency, ReAct, structured outputs, context engineering and evals, with code.
· 14 min read
20 copy-ready AI prompts for developers, covering planning, debugging, tests, code review, refactoring, SQL, regex, security and coding agent rules.
· 8 min read