TDD With AI Agents: Design the Tests First, Let the Agent Implement
Learn how to use test-driven development (TDD) with AI agents in Python. Design the tests first, then let a coding agent write code that passes them.
Learn how to use test-driven development (TDD) with AI agents in Python. Design the tests first, then let a coding agent write code that passes them.
What is pip? Learn how to use pip, Python's standard package manager, to install and manage packages that aren't part of the standard library.
Compare Python relative imports with absolute imports, weigh the pros and cons of each, and learn best practices for writing clean import statements.
Table of Contents Installing Thonny Web Download Command Line Download The User Interface The Code Editor and Shell The Icons Other UI Features The Co...
Learn how to structure Python projects: pick between flat and src/ layouts, organize your code, and apply the patterns to CLI, web, and GUI apps.
Learn how to use pyenv to manage multiple Python versions, prevent conflicts, and keep your projects compatible and development smooth.
Learn regex matching in Python with re.search(), and use metacharacters, groups, lookarounds, and flags to find complex patterns in strings.
Connect to SQLite, MySQL, and PostgreSQL databases with Python SQL libraries, then run common queries from a single Python application.
Discover the key differences in Polars vs pandas to help you choose the right Python library for faster, more efficient data analysis.
Learn how to use Positron IDE for Python data analysis: clean, visualize, and explore data manually or with the help of AI.
Use Python operator overloading to make built-in functions and operators work with your own classes, and write more Pythonic code.
Get to grips with Python recursion: what it is, how it works, when to reach for it, and how recursive and iterative solutions compare.
A complete guide to documenting Python code. Whether you're documenting a small script or a large project, this guide covers what you need to know.
Learn how to use the Python zip() function to iterate over multiple iterables in parallel, unzip sequences, and build dictionaries with less code.
Compare the Python random module with its alternatives for generating random data, on security, versatility, purpose, and speed.
Build a Python socket server and client from scratch, then extend it to handle multiple connections at once without blocking.
Real Python's weekly AI news for October 24–30, 2026, explained in plain language: Cheaper OpenAI Model, Free Mistral Model, and New Kimi Model.
Episode 315: Python Pitfalls: Common Mistakes and How to Avoid Them The Real Python Podcast Oct 16, 2026 45m best-practices python RSS Apple Spotify Y...
A prediction markets co-founder stated the company will comply with judicial rulings while suggesting the charges stem partially from political motiva...
Overcast's upcoming transcript feature for iOS will surpass Apple's native Podcasts app implementation, bringing enhanced accessibility and searchabil...