The Real Python Podcast

The Real Python Podcast

A weekly Python podcast hosted by Christopher Bailey with interviews, coding tips, and conversation with guests from the Python community. The show covers a wide range of topics including Python programming best practices, career tips, and related software development topics. Join us every Friday morning to hear what's new in the world of Python programming and become a more effective Pythonista.
00:00
00:00

Resumen del episodio

How does Python manage memory behind the scenes? What are the common ways to lay out a Python project? Christopher Trudeau is back on the show this week with another batch of PyCoder’s Weekly articles and projects. Christopher shares an article titled “First Steps into Memory Management in Python.” With recent updates to the garbage collector and the ongoing work toward removing the Global Interpreter Lock (GIL), the article covers the fundamentals of how Python allocates, tracks, and frees memory. We also share other articles and projects from the Python community, including recent releases, why Parquet dominates modern data engineering, choosing the right Python project layout, developing the most cursed + operator in all of Python, finding which dependencies block a Django project upgrade, and a Django performance benchmark profiler. Spotlight: Codex for Python Developers: Hands-On Agentic Coding Course Most Python developers use AI as fancy autocomplete. This 2-day live course teaches you to build entire…

Episodios

318-

Demystifying Python Memory Management & Choosing a Project Layout

How does Python manage memory behind the scenes? What are the common ways to lay out a Python project? Christopher Trudeau is back on the show this week with another batch of PyCoder’s Weekly articles and projects. Christopher shares an article titled “First Steps into Memory Management in Python.” With recent updates to the garbage collector and the ongoing work toward removing the Global Interpreter Lock (GIL), the article covers the fundamentals of how Python allocates, tracks, and frees memory. We also share other articles and projects from the Python community, including recent releases, why Parquet dominates modern data engineering, choosing the right Python project layout, developing the most cursed + operator in all of Python, finding which dependencies block a Django project upgrade, and a Django performance benchmark profiler. Spotlight: Codex for Python Developers: Hands-On Agentic Coding Course Most Python developers use AI as fancy autocomplete. This 2-day live course teaches you to build entire…

30 oct. 2026
317-

The Future of Python Security: Trends, Challenges, and Solutions

How is the Python ecosystem adapting to the modern landscape of software security and supply chain defense? This week on the show, we sit down with Seth Larson, the Python Software Foundation’s Security Developer in Residence. Seth shares his background in open source and how he got involved in security engineering. We discuss the Python Security Response Team and how a recent PEP formalized its processes for reporting and triage. Seth breaks down how large language models are affecting vulnerability discovery and increasing the volume to triage. We also cover the security advantages of trusted publishing on PyPI, how Software Bill of Materials (SBOMs) under PEP 770 help track dependencies, and some advice on improving your CI/CD security. Course Spotlight: Testing Your Code With Python’s unittest Learn how to use Python’s unittest framework to write unit tests for your code, including test cases, fixtures, and test suites. Free Bonus: Python Security Checklist Get a Python Security Checklist (PDF) and keep…

23 oct. 2026
316-

Python Pitfalls: Common Mistakes and How to Avoid Them

What are common mistakes that Python beginners make, and how do you avoid them? Christopher Trudeau is back on the show this week with another batch of PyCoder’s Weekly articles and projects. We dig into an article about common pitfalls and mistakes new Python developers make. Some of the mistakes are due to Python doing exactly what you asked it to do. We also talk about Real Python resources for getting started with the language and building your development environment. We also share other articles and projects from the Python community, including recent releases, a collection of new PEPs, and the results of two recent Python elections. We cover creating temporary files in Python, decoupling pure logic from Django’s ORM, a Python functions reference, a lightning-fast logger, and an online development environment for creating games. Course Spotlight: How to Use Python: Taking Your First Steps Take your first steps with Python. Install it, run your first program, and work with variables, data types, loops,…

16 oct. 2026
315-

Codemoo: Demonstrating How Coding Agents Work

How do you assemble the core pieces of a coding agent? How are developers defining projects through conversation and introspection? This week on the show, Geir Arne Hjelle returns to talk about his recent project to demonstrate how coding agents work under the hood. Geir Arne was my first guest on this program and has returned often over the years. He’s been exploring how coding agents work and has built a demonstration tool to explain them. We also discuss how he is using LLM tools in his work. We talk about moving beyond Spec-Driven Development to using tools that help you build architecture documents through thorough questioning sessions. Course Spotlight: Modern Python Linting With Ruff Ruff is a blazing-fast, modern Python linter with a simple interface that can replace Pylint, isort, and Black—and it’s rapidly becoming popular. Topics: 00:00:00 – Introduction 00:01:52 – Codemoo - Demonstrating how coding agents work under the hood 00:06:39 – Exploring Spec-Driven Development 00:09:38 – Breaking into…

09 oct. 2026
314-

Python 3.15: Exploring the New Features

Python 3.15 is (almost*) here! Christopher Trudeau and Bartosz Zaczyński return to discuss the new version. Bartosz coordinated the series of preview articles with members of the Real Python team and wrote the showcase tutorial, “Python 3.15: Cool New Features for You to Try.” Christopher’s video course “What’s New in Python 3.15” covers the topics from the article and shows the new features in action. Christopher and Bartosz dug into the release to create code examples of the new features for the tutorial and course. We cover the new built-in types, unpacking in comprehensions, and developer experience enhancements. We also look into the performance improvements, including lazy imports, the upgraded JIT compiler, and a new sampling profiler. We share our thoughts on the updates and offer advice about incorporating them into your projects. We also discuss when you should start running Python 3.15. Course Spotlight: What’s New in Python 3.15 Explore the new features in Python 3.15, including lazy imports,…

02 oct. 2026