The Real Python Podcast

The Real Python Podcast

By Real PythonTechnology
Download on the App Store

The Real Python Podcast episodes

  • Python 3.14: Exploring the New Features

    Python 3.14 is here! Christopher Trudeau returns to discuss the new version with Real Python team member Bartosz Zaczyński. This year, Bartosz coordinated the series of preview articles with members of the Real Python team and wrote the showcase tutorial, “Python 3.14: Cool New Features for You to Try.” Christopher’s video course, “What’s New in Python 3.14”, covers the topics from the article and shows the new features in action.

    Christopher and Bartosz dug into the new release to create code examples showcasing the new features for the tutorial and course. We look at the enhanced and more colorful REPL experience, better error messages, safer hooks for live debugging, and deferred annotation evaluation. We also discuss template strings, Zstandard compression, and multiple performance improvements.

    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.14.

    Course Spotlight: What’s New in Python 3.14

    Covers Python 3.14’s key changes: free-threading, subinterpreters, t-strings, lazy annotations, new REPL features, and improved error messages.

    Topics:

    • 00:00:00 – Introduction
    • 00:02:03 – Cool New Features for You to Try - Tutorial
    • 00:02:20 – What’s New in Python 3.14 - Video Course
    • 00:02:54 – Even Friendlier Python REPL
    • 00:05:05 – Allow “json” instead of “json.tool”
    • 00:05:49 – Zstandard compression
    • 00:06:37 – Working With Numbers
    • 00:11:09 – Deferred Evaluation of Annotations
    • 00:17:35 – More Helpful Error Messages
    • 00:20:41 – Warnings in try…finally Blocks
    • 00:22:08 – Safer Live Process Debugging
    • 00:25:22 – Pathlib Improvements
    • 00:26:50 – Additional assert methods for unittest
    • 00:27:19 – Template Strings (T-strings)
    • 00:31:01 – Free-threaded Build Updates
    • 00:35:30 – Incremental Garbage Collector
    • 00:37:59 – functools partial & placeholder improvement
    • 00:40:13 – Video Course Spotlight
    • 00:41:12 – Experimental JIT Builds
    • 00:46:52 – Parallel Subinterpreters
    • 00:48:59 – Unicode Database Update
    • 00:49:47 – 𝜋thon - Easter Egg
    • 00:51:26 – Starting to use the new version
    • 00:55:26 – Thanks and goodbye
    • Show Links:

      • Python 3.14: Cool New Features for You to Try – Real Python
      • What’s New in Python 3.14
      • Python 3.14 Preview: REPL Autocompletion and Highlighting – Real Python
      • Python 3.13 Preview: A Modern REPL – Real Python
      • Allow “-m json” instead of “-m json.tool” · Issue #122873
      • compression.zstd — Compression compatible with the Zstandard format — Python 3.14.0 documentation
      • Python 3.14 Preview: Lazy Annotations – Real Python
      • Python 3.14 Preview: Better Syntax Error Messages – Real Python
      • PEP 765: Control flow in finally blocks — Python 3.14.0 documentation
      • Remote debugging attachment protocol — Python 3.14.0 documentation
      • Python 3.14 Preview: Template Strings (T-Strings)
      • functools.partial placeholders · Issue #119127
      • garbage_collector Internal Docs at 3.14
      • Python 3.13: Free Threading and a JIT Compiler
      • Multiple interpreters in the standard library — Python 3.14.0 documentation
      • Additional Links:

        • PEP 784: Zstandard support in the standard library - Python 3.14.0 documentation
        • Episode #262: Travis Oliphant: SciPy, NumPy, and Fostering Scientific Python
        • Simplify Complex Numbers With Python – Real Python
        • Using Python’s pathlib Module – Real Python
        • Exploring Python T-Strings – Video Course
        • Python 3.13 Preview: Free Threading and a JIT Compiler – Real Python
        • Compatibility Status Tracking - Python Free-Threading Guide
        • PyPy
        • functools Module (Video) – Real Python
        • Python 3.12 Preview: Subinterpreters – Real Python
        • Level up your Python skills with our expert-led courses:

          • What's New in Python 3.12
          • What's New in Python 3.13
          • What's New in Python 3.14
          • Support the podcast & join our community of Pythonistas

            57 min
          • Advice on Beginning to Learn Python

            What’s changed about learning Python over the last few years? What new techniques and updated advice should beginners have as they start their journey? This week on the show, Stephen Gruppetta and Martin Breuss return to discuss beginning to learn Python.

            We share techniques for finding motivation, building projects, and learning the fundamentals. We provide advice on installing Python and not obsessing over finding the perfect editor. We also examine incorporating LLMs into learning to code and practicing asking good questions.

            Stephen shares details about our upcoming eight-week live course, Python for Beginners: Code With Confidence. Check out realpython.com/live to learn more and reserve your spot.

            Course Spotlight: 11 Beginner Tips for Learning Python

            In this course, you’ll see several learning strategies and tips that will help you jumpstart your journey towards becoming a successful Python programmer.

            Topics:

            • 00:00:00 – Introduction
            • 00:02:36 – Martin’s teaching background
            • 00:02:57 – Stephen’s teaching background
            • 00:04:07 – Having a vested interest in learning
            • 00:08:35 – No shortcut to learning the fundamentals
            • 00:09:21 – Parallels to learning a foreign language
            • 00:12:43 – What’s different about starting to learn Python now?
            • 00:15:03 – Stephen’s journey to coaching and using LLMs
            • 00:16:20 – Are LLMs helpful for learning?
            • 00:18:50 – Teaching what you’ve learned to someone else
            • 00:19:38 – Learning how to ask good questions
            • 00:22:11 – Improved error messages
            • 00:24:35 – REPL: Read Evaluate Print Loop
            • 00:26:33 – Video Course Spotlight
            • 00:27:48 – Installing Python and choosing an editor
            • 00:35:16 – Considering the scale of beginner projects
            • 00:37:39 – Should a beginner be concerned with making Pythonic code?
            • 00:40:55 – Using LLM tools and defining your level of skill
            • 00:42:39 – Python for Beginners: Code With Confidence - live course
            • 00:47:32 – Looking at projects - Awesome Python
            • 00:48:02 – Asking an LLM to explain the code generated
            • 00:50:46 – Debuggers and seeing code run
            • 00:51:23 – Thanks and goodbye
            • Show Links:

              • Python for Beginners: Code With Confidence: Real Python’s intensive Python training program with live expert instruction
              • 11 Beginner Tips for Learning Python Programming – Tutorial
              • Episode #4: Learning Python Through Errors
              • Automate the Boring Stuff with Python
              • Download Python - Python.org
              • Visual Studio Code - Code Editing Redefined
              • Python 3.12 Preview: Ever Better Error Messages – Real Python
              • Claude Code - Claude
              • Back on the Track - Stephen Gruppetta
              • Exploring Scopes and Closures in Python – Video Course
              • Writing Idiomatic Python – Video Course
              • Episode #71: Start Using a Debugger With Your Python Code
              • awesome-python: An opinionated list of awesome Python frameworks, libraries, software and resources
              • Level up your Python skills with our expert-led courses:

                • 11 Beginner Tips for Learning Python
                • Python Basics: Code Your First Python Program
                • Exploring Scopes and Closures in Python
                • Support the podcast & join our community of Pythonistas

                  53 min
                • Managing Feature Flags & Comparing Python Visualization Libraries

                  What’s a good way to enable or disable code paths without redeploying the software? How can you use feature flags to toggle functionality for specific users of your application? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder’s Weekly articles and projects.

                  Christopher shares an article exploring the use of feature flags. The piece advises targeting specific users, storing schemas, and relying on well-worn code paths. He also discusses the danger of the exponential growth of functionality tests as feature flags are added.

                  We dig into a comparison of six popular Python visualization libraries. The article provides code examples along with their respective visual output to highlight features and make selecting the optimal library for your work easier.

                  We also share several other articles and projects from the Python community, including a news roundup, benchmarking MicroPython, simplifying IPs and networks in Python, a “scream” cipher, and a browser-based graphical viewer for the output of Python’s cProfile module.

                  This episode is sponsored by InfluxData.

                  Course Spotlight: Exploring Astrophysics in Python With pandas and Matplotlib

                  This course uses three problems often covered in introductory astrophysics courses to explore in Python. Along the way, you’ll learn some astronomy and how to use a variety of data science libraries like NumPy, Matplotlib, pandas, and pint.

                  Topics:

                  • 00:00:00 – Introduction
                  • 00:03:04 – Python 3.14.0rc3 is go!
                  • 00:03:14 – Django 6.0 alpha 1 released
                  • 00:04:27 – PEP 782: Add PyBytesWriter C API
                  • 00:05:06 – PEP 794: Import Name Metadata
                  • 00:05:30 – PEP 803: Stable ABI for Free-Threaded Builds
                  • 00:05:55 – Announcing the 2025 PSF Board Election Results!
                  • 00:06:18 – Top 6 Python Libraries for Visualization: Which One to Use?
                  • 00:18:34 – Sponsor: InfluxData
                  • 00:19:24 – Feature Flags in Depth
                  • 00:22:55 – Benchmarking MicroPython
                  • 00:30:02 – Video Course Spotlight
                  • 00:31:16 – Simplify IPs, Networks, and Subnets With the ipaddress
                  • 00:34:52 – SCREAM CIPHER (“ǠĂȦẶAẦ ĂǍÄẴẶȦ”
                  • 00:36:20 – SnakeViz: browser based graphical viewer for the output of Python’s cProfile module
                  • 00:40:58 – Thanks and goodbye
                  • News:

                    • Python Insider: Python 3.14.0rc3 is go!
                    • Django 6.0 alpha 1 released - Django
                    • PEP 782: Add PyBytesWriter C API (Final)
                    • PEP 794: Import Name Metadata (Accepted)
                    • PEP 803: Stable ABI for Free-Threaded Builds (Added)
                    • Python Software Foundation News: Announcing the 2025 PSF Board Election Results!
                    • Show Links:

                      • Top 6 Python Libraries for Visualization: Which One to Use? – The vast number of Python visualization libraries can be overwhelming. This article shows you the pros and cons of some popular libraries, including Matplotlib, seaborn, Plotly, Bokeh, Altair, and Pygal.
                      • Feature Flags in Depth – Feature flags are a way to enable or disable blocks of code without needing to redeploy your software. This post shows you several different approaches to feature flags.
                      • Benchmarking MicroPython – This post compares the performance of running Python on several microcontroller boards.
                      • Simplify IPs, Networks, and Subnets With the ipaddress – Python’s built-in ipaddress module makes handling IP addresses and networks clean and reliable. This article shows how to validate, iterate, and manage addresses and subnets while avoiding common pitfalls of string-based handling.
                      • Projects:

                        • SCREAM CIPHER (“ǠĂȦẶAẦ ĂǍÄẴẶȦ”) – Seth discovered that Unicode has more accented “Latin capital letter A” characters than the 26 letters in the English alphabet.
                        • SnakeViz: browser based graphical viewer for the output of Python’s cProfile module
                        • Level up your Python skills with our expert-led courses:

                          • Graph Your Data With Python and ggplot
                          • Exploring Astrophysics in Python With pandas and Matplotlib
                          • Using Astropy for Astronomy With Python
                          • Support the podcast & join our community of Pythonistas

                            43 min
                          • Dangers of Automatically Converting a REST API to MCP

                            When converting an existing REST API to the Model Context Protocol, what should you consider? What anti-patterns should you avoid to keep an AI agent’s context clean? This week on the show, Kyle Stratis returns to discuss his upcoming book, “AI Agents with MCP”.

                            Kyle has been busy since he last appeared on the show in 2020. He’s taken his experience working in machine learning startups and started his own consultancy, Stratis Data Labs. He’s been documenting his explorations working with LLMs and MCP on his blog, The Signal Path.

                            Kyle is also writing a book about building MCP clients, services, and end-to-end agents. We discuss a recent article he wrote about the hazards of using an automated tool to convert a REST API into an MCP server. He shares his personal experiences with building MCP tools and provides additional resources for you to learn more about the topic.

                            This episode is sponsored by InfluxData.

                            Spotlight: Python for Beginners: Code With Confidence – Real Python

                            Learn Programming Fundamentals and Pythonic Coding in Eight Weeks—With a Structured Course

                            Topics:

                            • 00:00:00 – Introduction
                            • 00:02:41 – Updates on career
                            • 00:04:36 – The Signal Path - newsletter
                            • 00:07:15 – Moving into consulting
                            • 00:12:35 – Recent projects
                            • 00:14:51 – Need for data skills with MCP
                            • 00:16:49 – Describing the differences between REST APIs and MCP
                            • 00:19:59 – Interaction model differences
                            • 00:27:29 – Sponsor: InfluxData
                            • 00:28:21 – Agent stories
                            • 00:32:58 – Going through a simple example of MCP server
                            • 00:37:50 – Defining client and server
                            • 00:40:19 – Examples of servers currently
                            • 00:51:44 – Announcement: Python for Beginners: Code with Confidence
                            • 01:02:07 – Resources for further study
                            • 01:05:07 – Breaking down advice on moving an API to MCP
                            • 01:08:04 – What are you excited about in the world of Python?
                            • 01:18:20 – What do you want to learn next?
                            • 01:21:35 – How can people follow your work online?
                            • 01:22:46 – Thanks and goodbye
                            • Show Links:

                              • AI Agents with MCP - Book
                              • Episode #10: Python Job Hunting in a Pandemic
                              • Stop Converting Your REST APIs to MCP
                              • Stop Generating MCP Servers from REST APIs!
                              • Context7 - Up-to-date documentation for LLMs and AI code editors
                              • Anthropic
                              • What is the Model Context Protocol (MCP)? - Model Context Protocol
                              • github-mcp-server: GitHub’s official MCP Server
                              • Model Context Protocol (/MCP) - Reddit
                              • modelcontextprotocol/servers: Model Context Protocol Servers
                              • Browse All MCP Servers - MCP Market
                              • Welcome to FastMCP 2.0! - FastMCP
                              • Agent Memory: How to Build Agents that Learn and Remember - Letta
                              • Kyle Stratis Personal Blog - The Edge Cases
                              • The Signal Path
                              • Stratis Data Labs
                              • Kyle Stratis - LinkedIn
                              • Kyle (@kylestratis.com) — Bluesky
                              • Level up your Python skills with our expert-led courses:

                                • Interacting With REST APIs and Python
                                • Using Pydantic to Simplify Python Data Validation
                                • A History of Python Versions and Features
                                • Support the podcast & join our community of Pythonistas

                                  1 hr 25 min
                                • Python App Hosting Choices & Documenting Python's History

                                  What are your options for hosting your Python application or scripts? What are the advantages of a platform as a service, container-based hosts, or setting up a virtual machine? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder’s Weekly articles and projects.

                                  We discuss a recent article about hosting Python applications. The piece digs into the differences between using containers or platform-provided tools to automatically configure your project. We also cover an older article listing several free hosting options for smaller projects or Python scripts.

                                  The Python documentary premiered this past week, and we provide a synopsis and our thoughts. Following a similar theme, we cover our recent code conversation video course, which explores the history of Python versions and the features added across the releases.

                                  We also share several other articles and projects from the Python community, including a news roundup, regex affordances, four different ways to speed up your code, a Python-based music library manager, a tool to visualize the structure of your data in Python, and a project for exploring color science in Python.

                                  This episode is sponsored by InfluxData.

                                  Course Spotlight: A History of Python Versions and Features

                                  Explore Python’s evolution from the 1990s to today with a brief history and demos of key features added throughout its lifetime.

                                  Topics:

                                  • 00:00:00 – Introduction
                                  • 00:03:02 – PEP 728: TypedDict With Typed Extra Items
                                  • 00:04:09 – Django security releases issued: 5.2.6, 5.1.12, and 4.2.24
                                  • 00:04:37 – Python Type System and Tooling Survey 2025
                                  • 00:04:56 – Python: The Documentary - An Origin Story
                                  • 00:14:11 – A History of Python Versions and Features
                                  • 00:16:58 – Sponsor: InfluxData
                                  • 00:17:48 – Regex Affordances
                                  • 00:21:34 – Where to Host Your Python App
                                  • 00:26:48 – Best hosting platforms for Python applications and Python scripts
                                  • 00:30:18 – Video Course Spotlight
                                  • 00:31:59 – 330× Faster: Four Different Ways to Speed Up Your Code
                                  • 00:37:18 – beets: Music Library Manager
                                  • 00:39:12 – Memory Graph - GitHub
                                  • 00:40:49 – colour: Colour Science for Python
                                  • 00:42:35 – Thanks and goodbye
                                  • News:

                                    • PEP 728: TypedDict With Typed Extra Items (Accepted)
                                    • Django security releases issued: 5.2.6, 5.1.12, and 4.2.24
                                    • Python Type System and Tooling Survey 2025
                                    • Show Links:

                                      • Python: The Documentary - An Origin Story - YouTube – “This is the story of the world’s most beloved programming language: Python. What began as a side project in Amsterdam during the 1990s became the software powering artificial intelligence, data science and some of the world’s biggest companies.”
                                      • A History of Python Versions and Features – Video Course
                                      • Regex Affordances – A tour of some real code showing little-used power features of the Python regular expression module, including verbose regex syntax, calling re.sub() with a function reference, and more.
                                      • Where to Host Your Python App – Whether it’s Django, Flask, FastAPI, or some other Python web framework, your hosting options are plenty. This guide will show you how to choose.
                                      • Best hosting platforms for Python applications and Python scripts
                                      • 330× Faster: Four Different Ways to Speed Up Your Code – There are many approaches to speeding up Python code; applying multiple approaches can make your code even faster. This post talks about four different ways you can achieve speed-up.
                                      • Projects:

                                        • beets: Music Library Manager
                                        • Memory Graph - GitHub
                                        • colour: Colour Science for Python
                                        • Additional Links:

                                          • What’s in which Python - Ned Batchelder
                                          • Anvil
                                          • Opalstack: Managed Hosting
                                          • Level up your Python skills with our expert-led courses:

                                            • Handling Missing Keys With the Python defaultdict Type
                                            • Using Structural Pattern Matching in Python
                                            • A History of Python Versions and Features
                                            • Support the podcast & join our community of Pythonistas

                                              44 min
                                            • Large Language Models on the Edge of the Scaling Laws

                                              What’s happening with the latest releases of large language models? Is the industry hitting the edge of the scaling laws, and do the current benchmarks provide reliable performance assessments? This week on the show, Jodie Burchell returns to discuss the current state of LLM releases.

                                              The most recent release of GPT-5 has been a wake-up call for the LLM industry. We discuss how the current scaling of these systems is reaching a diminishing edge. Jodie also shares how many AI model assessments and benchmarks are flawed. We also take a sober look at the productivity gains from using these tools for software development within companies.

                                              We discuss how newer developers should consider additional factors when looking at the current job market. Jodie digs into how economic changes and rising interest rates are influencing layoffs and hiring freezes. Then we share a wide collection of resources for you to continue exploring these topics.

                                              This episode is sponsored by InfluxData.

                                              Course Spotlight: Exploring Python Closures: Examples and Use Cases

                                              Learn about Python closures: function-like objects with extended scope used for decorators, factories, and stateful functions.

                                              Topics:

                                              • 00:00:00 – Introduction
                                              • 00:03:00 – Recent conferences and talks
                                              • 00:04:18 – What’s going on with LLMs?
                                              • 00:06:06 – What happened with the GPT-5 release?
                                              • 00:08:14 – Simon Willison - 2025 in LLMs so far
                                              • 00:09:00 – How did we get here?
                                              • 00:10:37 – OpenAI’s and scaling laws
                                              • 00:12:25 – Pivoting to post-training
                                              • 00:16:01 – Some history of AI eras
                                              • 00:17:54 – Issues with measuring performance and benchmarks
                                              • 00:22:19 – Chatbot Arena
                                              • 00:24:06 – Languages are finite
                                              • 00:26:22 – LLMs and the illusion of humanity
                                              • 00:30:41 – Sponsor: InfluxData
                                              • 00:31:34 – Types of solutions to move past these limits
                                              • 00:36:57 – Does AI actually boost developer productivity?
                                              • 00:44:19 – Agentic Al Programming with Python
                                              • 00:48:02 – Results of non-programmers vibe coding
                                              • 00:50:18 – Back to the concept of overfitting
                                              • 00:52:52 – The money involved in training
                                              • 00:56:50 – Video Course Spotlight
                                              • 00:58:21 – Deepseek and new methods of training
                                              • 01:01:02 – Quantizing and fitting on a local machine
                                              • 01:04:48 – The layoffs and the economic changes
                                              • 01:10:32 – AI implementation failures
                                              • 01:21:01 – Don’t doubt yourself as a developer
                                              • 01:24:06 – What are you excited about in the world of Python?
                                              • 01:25:39 – What do you want to learn next?
                                              • 01:26:42 – What’s the best way to follow your work online?
                                              • 01:27:04 – Thanks and goodbye
                                              • Survey:

                                                • Listener Survey - Help Shape the Future of the Real Python Podcast
                                                • Show Links:

                                                  • EuroPython 2025 - July 14th-20th 2025 - Prague, Czech Republic & Remote
                                                  • Episode #232: Exploring Modern Sentiment Analysis Approaches in Python
                                                  • GPT-5: Overdue, overhyped and underwhelming. And that’s not the worst of it.
                                                  • GPT 5’s Rocky Launch Highlights AI Disillusionment - IEEE Spectrum
                                                  • 2025 in LLMs so far, illustrated by Pelicans on Bicycles — Simon Willison
                                                  • Attention is All You Need - Google
                                                  • Scaling laws for neural language models - OpenAI
                                                  • What if AI Doesn’t Get Much Better Than This? - Cal Newport
                                                  • Hiltzik: AI hype is fading fast - Los Angeles Times
                                                  • Does AI Actually Boost Developer Productivity? (100k Devs Study) - Yegor Denisov-Blanch, Stanford - YouTube
                                                  • Measuring the Impact of Early-2025 AI on Experienced Open-Source Developer Productivity - METR
                                                  • Amazon Cloud Chief: Replacing Junior Staff With AI Is ‘Dumbest’ Idea - Business Insider
                                                  • 20 LLM evaluation benchmarks and how they work
                                                  • MMLU - Measuring Massive Multitask Language Understanding
                                                  • HellaSwag: Can a Machine Really Finish Your Sentence?
                                                  • Mechanical Turk - Wikipedia
                                                  • Amazon Mechanical Turk
                                                  • Chatbot Arena - LMArena
                                                  • LLMs Can’t Reason - The Reversal Curse, The Alice In Wonderland Test, And The ARC - AGI Challenge - CustomGPT
                                                  • Mirror, mirror: LLMs and the illusion of humanity - Jodie Burchell - NDC Oslo 2024 - YouTube
                                                  • Is Chain-of-Thought Reasoning of LLMs a Mirage? A Data Distribution Lens
                                                  • Context Rot: How Increasing Input Tokens Impacts LLM Performance - YouTube
                                                  • Does AI Actually Boost Developer Productivity? (100k Devs Study) - Yegor Denisov-Blanch, Stanford - YouTube
                                                  • AWS CEO says no more programmers in 2 years - Tech Industry - Blind
                                                  • MIT report: 95% of generative AI pilots at companies are failing - Fortune
                                                  • Agentic Al Programming with Python - Talk Python To Me Podcast
                                                  • Vibe coding through the GPT-5 mess - The Verge
                                                  • Overfitting - Wikipedia
                                                  • Andrej Karpathy - Busy Person’s Intro to LLMs - YouTube
                                                  • AI Isn’t Taking Your Job – The Economy Is - Andrew Stiefel
                                                  • Commonwealth Bank backtracks on AI job cuts, apologizes for ‘error’ as call volumes rise - ABC News
                                                  • Klarna CEO Reverses Course By Hiring More Humans, Not AI | Entrepreneur
                                                  • Has Duolingo Lost Its Streak? - Matt Jones - Medium
                                                  • McDonald’s removes AI drive-throughs after order errors
                                                  • OpenAI Usage Plummets in the Summer, When Students Aren’t Cheating on Homework
                                                  • What Happened When I Tried to Replace Myself with ChatGPT in My English Classroom - Literary Hub
                                                  • Learning to code in the age of AI — Sheena O’Connell - YouTube
                                                  • Jodie Burchell - The JetBrains Blog
                                                  • Jodie Burchell’s Blog - Standard error
                                                  • Jodie Burchell (@t-redactyl.bsky.social) — Bluesky
                                                  • Jodie Burchell 🇦🇺🇩🇪 (@[email protected]) - Fosstodon
                                                  • JetBrains: Essential tools for software developers and teams
                                                  • Level up your Python skills with our expert-led courses:

                                                    • Python Decorators 101
                                                    • Exploring Python Closures: Examples and Use Cases
                                                    • A History of Python Versions and Features
                                                    • Support the podcast & join our community of Pythonistas

                                                      1 hr 29 min
                                                    • Exploring Mixin Classes in Python

                                                      What is a good way to add isolated, reusable functionality to Python classes? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder’s Weekly articles and projects.

                                                      Christopher covers a recent Real Python tutorial about developing mixin classes to reuse code across multiple Python classes. He describes how mixins rely on multiple inheritance to combine features from different classes, enhancing flexibility and code reuse.

                                                      We also share several other articles and projects from the Python community, including a news roundup, highlights from the 2024 Python Developers Survey, reasons you might not need a Python class, an exploration of asyncio’s sharp corners, an explanation of how JIT builds of CPython work, a web-based GUI library, and a project for quickly querying Python lists.

                                                      This episode is sponsored by InfluxData.

                                                      Course Spotlight: Design and Guidance: Object-Oriented Programming in Python

                                                      In this video course, you’ll learn about the SOLID principles, which are five well-established standards for improving your object-oriented design in Python. By applying these principles, you can create object-oriented code that’s more maintainable, extensible, scalable, and testable.

                                                      Topics:

                                                      • 00:00:00 – Introduction
                                                      • 00:03:14 – Python 3.13.7 Released
                                                      • 00:03:38 – Python 3.14.0rc2 Released
                                                      • 00:04:10 – PEP 802: Display Syntax for the Empty Set
                                                      • 00:04:59 – Announcing the PSF Board Candidates for 2025
                                                      • 00:05:26 – Rodrigo - PSF - Community Service Award for Q2 2025
                                                      • 00:06:06 – Python Developers Survey 2024 Results
                                                      • 00:13:27 – pyx: A Python-Native Package Registry
                                                      • 00:15:12 – Test & Code Final Episode
                                                      • 00:15:48 – You Might Not Need a Python Class
                                                      • 00:20:52 – Sponsor: InfluxData
                                                      • 00:21:44 – asyncio: A Library With Too Many Sharp Corners
                                                      • 00:25:43 – How JIT Builds of CPython Actually Work
                                                      • 00:35:21 – Video Course Spotlight
                                                      • 00:37:12 – What Are Mixin Classes in Python?
                                                      • 00:44:05 – nicegui: Create Web-Based UI With Python
                                                      • 00:46:51 – leopards: Quickly query your Python lists
                                                      • 00:49:00 – Thanks and goodbye
                                                      • Survey:

                                                        • Listener Survey - Help Shape the Future of the Real Python Podcast
                                                        • News:

                                                          • Python 3.13.7 Released
                                                          • Python 3.14.0rc2 Released
                                                          • PEP 802: Display Syntax for the Empty Set (Added)
                                                          • Announcing the PSF Board Candidates for 2025 – The Python Software Foundation elections are upon us, and this post announces this year’s candidates. Voting is September 2nd to 16th. To vote, you must be registered by August 26th.
                                                          • Rodrigo - PSF - Community Service Award for Q2 2025
                                                          • Python Developers Survey 2024 Results
                                                          • The State of Python 2025 - The PyCharm Blog
                                                          • pyx: A Python-Native Package Registry, Now in Beta – The folks at Astral, who brought you uv and more, have created a new commercial Python-native package registry called “pyx”.
                                                          • Test & Code Final Episode – After 10 years and 237 episodes, Brian Okken has decided to stop recording Test & Code. He’ll still be contributing to Python Bytes. Here’s to all his work on a great podcast over the last decade.
                                                          • Show Links:

                                                            • You Might Not Need a Python Class – If you’re coming from other languages, you might think a class is the easiest way to do something, but Python has other options. This post shows you some alternatives and why you might choose them.
                                                            • asyncio: A Library With Too Many Sharp Corners – asyncio has a few gotchas and this post describes five different problems, including: cancellation, disappearing tasks, and more.
                                                            • How JIT Builds of CPython Actually Work – You don’t have to be a compiler engineer to understand how your code runs in a JIT build of CPython. This article runs you through just what happens under the covers.
                                                            • What Are Mixin Classes in Python? – Learn how to use Python mixin classes to write modular, reusable, and flexible code with practical examples and design tips.
                                                            • Projects:

                                                              • nicegui: Create Web-Based UI With Python
                                                              • leopards: Quickly query your Python lists
                                                              • Additional Links:

                                                                • Episode #259: Design Patterns That Don’t Translate to Python
                                                                • Episode #123: Creating a Python Code Completer & More Abstract Syntax Tree Projects
                                                                • Specializing Adaptive Interpreter
                                                                • The LLVM Compiler Infrastructure Project
                                                                • PEP 774 – Removing the LLVM requirement for JIT builds
                                                                • Building a JIT compiler for CPython
                                                                • What they don’t tell you about building a JIT compiler for CPython
                                                                • Quiz: What Are Mixin Classes in Python?
                                                                • NiceGUI
                                                                • Level up your Python skills with our expert-led courses:

                                                                  • Class Concepts: Object-Oriented Programming in Python
                                                                  • Inheritance and Internals: Object-Oriented Programming in Python
                                                                  • Design and Guidance: Object-Oriented Programming in Python
                                                                  • Support the podcast & join our community of Pythonistas

                                                                    51 min
                                                                  • Travis Oliphant: SciPy, NumPy, and Fostering Scientific Python

                                                                    What went into developing the open-source Python tools data scientists use every day? This week on the show, we talk with Travis Oliphant about his work on SciPy, NumPy, Numba, and many other contributions to the Python scientific community.

                                                                    Travis discusses his initial involvement in the open-source community and how he discovered Python while working in biomedical imaging. He was trying to find ways to manage large sets of numerical data, which led to his initial contributions and collaborations in building scientific libraries.

                                                                    His appearance on the show coincides with the release of the Python documentary, in which he’s featured. We discuss the myriad organizations Travis founded, including Quansight, OpenTeams, and Anaconda. We dig into his underlying mission to continue fostering the growth of the open-source scientific computing community.

                                                                    This episode is sponsored by InfluxData.

                                                                    Course Spotlight: NumPy Techniques and Practical Examples

                                                                    In this video course, you’ll learn how to use NumPy by exploring several interesting examples. You’ll read data from a file into an array and analyze structured arrays to perform a reconciliation. You’ll also learn how to quickly chart an analysis and turn a custom function into a vectorized function.

                                                                    Topics:

                                                                    • 00:00:00 – Introduction
                                                                    • 00:02:41 – Python documentary
                                                                    • 00:07:44 – Getting involved in open source
                                                                    • 00:12:04 – Numeric Python
                                                                    • 00:15:36 – SciPy and the SciPy community
                                                                    • 00:17:35 – Starting to think about entrepreneurship
                                                                    • 00:18:16 – NumPy evolving from the work of Numeric
                                                                    • 00:22:01 – Sponsor: InfluxData
                                                                    • 00:22:53 – Python as controlling code for lower-level libraries
                                                                    • 00:23:37 – Numba open-source JIT compiler
                                                                    • 00:30:09 – Starting to build in Python before learning it all
                                                                    • 00:34:45 – Python as the language AI generates
                                                                    • 00:36:31 – Guilds and sharing knowledge
                                                                    • 00:40:15 – More NumPy backstory
                                                                    • 00:46:36 – Contributing to Python
                                                                    • 00:48:24 – Video Course Spotlight
                                                                    • 00:49:41 – The investment of companies in Python
                                                                    • 00:51:22 – Quansight and businesses in open source
                                                                    • 00:53:09 – Open Teams and Quansight details
                                                                    • 00:57:14 – NumFOCUS and Anaconda
                                                                    • 00:58:51 – FairOSS
                                                                    • 01:02:36 – Documenting these efforts
                                                                    • 01:05:37 – What are you excited about in the world of Python?
                                                                    • 01:07:12 – What do you want to learn next?
                                                                    • 01:08:10 – How can people follow your work online?
                                                                    • 01:10:03 – Thanks and goodbye
                                                                    • Show Links:

                                                                      • Python: The Documentary - OFFICIAL TRAILER - Coming August 28 - YouTube
                                                                      • The Python Matrix Object: Extending Python for Numerical Computation
                                                                      • Jim Fulton
                                                                      • Jim Hugunin - Home
                                                                      • History of SciPy - SciPy wiki dump
                                                                      • SciPy
                                                                      • NumPy
                                                                      • Numba: A High Performance Python Compiler
                                                                      • LPython - High performance typed Python compiler
                                                                      • OpenTeams: Open SaaS AI Solutions
                                                                      • Quansight Consulting
                                                                      • OpenTeams Incubator
                                                                      • NumFOCUS: A Nonprofit Supporting Open Code for Better Science
                                                                      • Anaconda
                                                                      • FairOSS
                                                                      • faster-cpython
                                                                      • Travis Oliphant (@teoliphant) / X
                                                                      • Travis Oliphant - LinkedIn
                                                                      • Level up your Python skills with our expert-led courses:

                                                                        • Stacks and Queues: Selecting the Ideal Data Structure
                                                                        • Data Cleaning With pandas and NumPy
                                                                        • NumPy Techniques and Practical Examples
                                                                        • Support the podcast & join our community of Pythonistas

                                                                          1 hr 12 min
                                                                        • Selecting Inheritance or Composition in Python

                                                                          When considering an object-oriented programming problem, should you prefer inheritance or composition? Why wouldn’t it just be simpler to use functions? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder’s Weekly articles and projects.

                                                                          Christopher shares an article about structuring code using inheritance, composition, or only functions. We discuss how the piece is a good exploration of the trade-offs of each solution. Unlike the tutorials beginners typically encounter while learning the fundamentals, the article goes much deeper into the “why” of object-oriented programming.

                                                                          We also share several other articles and projects from the Python community, including a news roundup, processing audio in Python, reasons why you shouldn’t call dunder methods, smuggling arbitrary data through an emoji, an HTML to markdown converter, and a library to convert Python requests into curl commands.

                                                                          Course Spotlight: Single and Double Underscore Naming Conventions in Python

                                                                          In this video course, you’ll learn a few Python naming conventions involving single and double underscores (_). You’ll learn how to use this character to differentiate between public and non-public names in APIs, write safe classes for subclassing purposes, avoid name clashes, and more.

                                                                          Topics:

                                                                          • 00:00:00 – Introduction
                                                                          • 00:02:23 – Python 3.13.6 Released
                                                                          • 00:02:47 – Django 5.2.5 Released
                                                                          • 00:02:55 – Django REST Framework Release v3.16.1
                                                                          • 00:03:09 – Narwhals v2.0.0 Released
                                                                          • 00:03:22 – mypy 1.17 Released
                                                                          • 00:03:42 – PEP 798: Unpacking in Comprehensions
                                                                          • 00:04:11 – PEP 799: A Dedicated Profilers Package for Organizing Python Profiling Tools
                                                                          • 00:06:12 – PyPI Users Email Phishing Attack
                                                                          • 00:07:33 – Django in Action
                                                                          • 00:08:00 – Call for proposals deadline - PyCon NL
                                                                          • 00:08:59 – Python Audio Processing With pedalboard
                                                                          • 00:18:49 – Smuggling Arbitrary Data Through an Emoji
                                                                          • 00:21:53 – Don’t Call Dunder Methods
                                                                          • 00:28:51 – Video Course Spotlight
                                                                          • 00:30:27 – Inheritance Over Composition, Sometimes
                                                                          • 00:40:03 – html-to-markdown: HTML to Markdown Converter
                                                                          • 00:42:20 – curlify: A library to convert Python requests request object into curl commands
                                                                          • 00:44:18 – transfunctions: Support Both Sync and Async
                                                                          • 00:45:18 – Thanks and goodbye
                                                                          • Survey:

                                                                            • Listener Survey - Help Shape the Future of the Real Python Podcast
                                                                            • News:

                                                                              • Python 3.13.6 Released
                                                                              • Django 5.2.5 Released
                                                                              • Django REST Framework Release v3.16.1
                                                                              • Narwhals v2.0.0 Released
                                                                              • Mypy 1.17 Released
                                                                              • PEP 798: Unpacking in Comprehensions (Added)
                                                                              • PEP 799: A Dedicated Profilers Package for Organizing Python Profiling Tools (Added)
                                                                              • PyPI Users Email Phishing Attack – PyPI users are being targeted by an email phishing attack attempting to trick them into logging into a fake PyPI site. This post from the Security Engineer at PyPI discusses what’s happening and what you should do about it. There’s also a follow-up post.
                                                                              • PyCon NL 2025 - Call for Papers
                                                                              • Django in Action - Christopher Trudeau - Code ladjango40
                                                                              • Topics:

                                                                                • Python Audio Processing With pedalboard – The pedalboard library for Python is aimed at audio processing of various sorts, from converting between formats to adding audio effects. This post summarizes a PyCon US talk on pedalboard and its uses.
                                                                                • Smuggling Arbitrary Data Through an Emoji – Unicode includes flexibility through the use of variation selectors. These include the ability to change characters through a consecutive series of coding points. But, when used with code points that don’t need them, they’re ignored, so you can hide data in them.
                                                                                • Don’t Call Dunder Methods – It’s best to avoid calling dunder methods. It’s common to define dunder methods, but uncommon to call them directly.
                                                                                • Inheritance Over Composition, Sometimes – In an older post, Adrian wrote some code using inheritance. He got questions from his readers asking why it wouldn’t just be simpler to use functions. This post re-implements the code with inheritance, composition, and plain old functions, then compares the approaches.
                                                                                • Projects:

                                                                                  • html-to-markdown: HTML to Markdown Converter
                                                                                  • curlify: A library to convert Python requests request object to curl command
                                                                                  • transfunctions: Support Both Sync and Async
                                                                                  • Additional Links:

                                                                                    • Working with Audio in Python (feat. Pedalboard) - Peter Sobot - YouTube
                                                                                    • Python’s Magic Methods: Leverage Their Power in Your Classes – Tutorial
                                                                                    • Level up your Python skills with our expert-led courses:

                                                                                      • Class Concepts: Object-Oriented Programming in Python
                                                                                      • Inheritance and Internals: Object-Oriented Programming in Python
                                                                                      • Single and Double Underscore Naming Conventions in Python
                                                                                      • Support the podcast & join our community of Pythonistas

                                                                                        47 min
                                                                                      • Harnessing the Power of Python Polars

                                                                                        What are the advantages of using Polars for your Python data projects? When should you use the lazy or eager APIs, and what are the benefits of each? This week on the show, we speak with Jeroen Janssens and Thijs Nieuwdorp about their new book, Python Polars: The Definitive Guide.

                                                                                        Jeroen and Thijs describe how they were introduced to Polars while working at Xomnia. They were converting a large data project to Python and saw surprising speed increases using the new library.

                                                                                        We discuss converting projects from pandas to Polars, getting away from indexes, consistent syntax, and using lazy vs eager APIs. Along the way, Jeroen and Thijs offer tips for getting the most out of Polars in your code.

                                                                                        We dig into the process of writing a definitive guide and the advantages of working collaboratively on a book project. They also share resources for practicing data wrangling and building visualizations with Pydy Tuesday.

                                                                                        Course Spotlight: Working With Python Polars

                                                                                        Welcome to the world of Polars, a powerful DataFrame library for Python. In this video course, you’ll get a hands-on introduction to Polars’ core features and see why this library is catching so much buzz.

                                                                                        Topics:

                                                                                        • 00:00:00 – Introduction
                                                                                        • 00:02:47 – Polars start at Xomnia
                                                                                        • 00:04:08 – Putting Polars into production
                                                                                        • 00:07:18 – Realizing the speed differences
                                                                                        • 00:08:49 – Converting the project from R to Python
                                                                                        • 00:14:34 – How did Polars improve the project?
                                                                                        • 00:16:34 – Making the code more ergonomic and readable
                                                                                        • 00:19:21 – Only grabbing the data that is needed
                                                                                        • 00:20:37 – Titling and deciding to write the book
                                                                                        • 00:24:40 – Advantages to collaboration
                                                                                        • 00:29:34 – What were you excited to include in the book?
                                                                                        • 00:31:55 – Working with different engines and Nvidia’s Cuda
                                                                                        • 00:35:05 – Defining a Polars expression
                                                                                        • 00:36:11 – Transitioning from pandas to Polars
                                                                                        • 00:37:34 – Not needing an index
                                                                                        • 00:39:56 – What inspired the syntax?
                                                                                        • 00:45:01 – Defining lazy vs eager workflows
                                                                                        • 00:49:16 – Examples covered in first chapter preview
                                                                                        • 00:51:51 – Video Course Spotlight
                                                                                        • 00:53:14 – Data formats and Arrow
                                                                                        • 00:55:41 – Working with NaN, null, or None
                                                                                        • 00:58:11 – Measuring performance through a benchmark
                                                                                        • 00:59:12 – Advantages to working with the Discord community
                                                                                        • 01:02:32 – Code examples and applying the techniques
                                                                                        • 01:03:34 – Pydy Tuesday
                                                                                        • 01:05:47 – What are you excited about in the world of Python?
                                                                                        • 01:09:21 – What do you want to learn next?
                                                                                        • 01:13:26 – What’s the best way to follow your work online?
                                                                                        • 01:14:14 – Thanks and goodbye
                                                                                        • Survey:

                                                                                          • Listener Survey - Help Shape the Future of the Real Python Podcast
                                                                                          • Show Links:

                                                                                            • Python Polars: The Definitive Guide
                                                                                            • Janssens & Nieuwdorp - What we learned by converting a large codebase from Pandas to Polars - YouTube
                                                                                            • Polars — DataFrames for the new era
                                                                                            • polars · PyPI
                                                                                            • Xomnia - Home Page
                                                                                            • Episode #140: Speeding Up Your DataFrames With Polars
                                                                                            • Data Science at the Command Line - Jeroen Janssens
                                                                                            • Tidyverse
                                                                                            • PySpark Overview — PySpark 4.0.0 documentation
                                                                                            • Episode #193: Wes McKinney on Improving the Data Stack & Composable Systems
                                                                                            • Apache Arrow
                                                                                            • TPC-H Homepage
                                                                                            • Community – Python Polars: The Definitive Guide
                                                                                            • pydytuesday: A Python package to download TidyTuesday datasets
                                                                                            • PydyTuesday - Python How-to Videos - YouTube
                                                                                            • Astral: High-performance Python tooling
                                                                                            • Episode #238: Charlie Marsh: Accelerating Python Tooling With Ruff and uv
                                                                                            • uv: An extremely fast Python package and project manager, written in Rust.
                                                                                            • PEP 723 – Inline script metadata
                                                                                            • Inline script metadata - Python Packaging User Guide
                                                                                            • Package Your Python Code as a CLI - PyData London 25 - YouTube
                                                                                            • marimo - A next-generation Python notebook
                                                                                            • The Rust Programming Language Book
                                                                                            • Pimsleur - Learn New Languages Online
                                                                                            • Official Rosetta Stone - How Language Is Learned
                                                                                            • Thijs Nieuwdorp
                                                                                            • Jeroen Janssens
                                                                                            • Python Polars: The Definitive Guide
                                                                                            • Level up your Python skills with our expert-led courses:

                                                                                              • Graph Your Data With Python and ggplot
                                                                                              • Working With Python Polars
                                                                                              • Working With Missing Data in Polars
                                                                                              • Support the podcast & join our community of Pythonistas

                                                                                                1 hr 15 min

                                                                                              About The Real Python Podcast

                                                                                              From the publisher's feed

                                                                                              A weekly Python podcast hosted by Christopher Bailey with interviews, coding tips, and conversation with guests from the Python community.

                                                                                              More shows like The Real Python Podcast

                                                                                              The Changelog: Software Development, Open Source by Changelog Media

                                                                                              The Changelog: Software Development, Open Source

                                                                                              290 Listeners

                                                                                              Software Engineering Daily by Software Engineering Daily

                                                                                              Software Engineering Daily

                                                                                              624 Listeners

                                                                                              Talk Python To Me by Michael Kennedy

                                                                                              Talk Python To Me

                                                                                              582 Listeners

                                                                                              Soft Skills Engineering by Jamison Dance and Dave Smith

                                                                                              Soft Skills Engineering

                                                                                              296 Listeners

                                                                                              Super Data Science: ML & AI Podcast with Jon Krohn by Jon Krohn

                                                                                              Super Data Science: ML & AI Podcast with Jon Krohn

                                                                                              301 Listeners

                                                                                              Python Bytes by Michael Kennedy and Calvin Hendryx-Parker

                                                                                              Python Bytes

                                                                                              212 Listeners

                                                                                              Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

                                                                                              Syntax - Tasty Web Development Treats

                                                                                              983 Listeners

                                                                                              Darknet Diaries by Jack Rhysider

                                                                                              Darknet Diaries

                                                                                              8,075 Listeners

                                                                                              Tech Brew Ride Home by Morning Brew

                                                                                              Tech Brew Ride Home

                                                                                              961 Listeners

                                                                                              Practical AI by Daniel Whitenack and Chris Benson

                                                                                              Practical AI

                                                                                              203 Listeners

                                                                                              AWS Podcast by Amazon Web Services

                                                                                              AWS Podcast

                                                                                              202 Listeners

                                                                                              Django Chat by William Vincent and Carlton Gibson

                                                                                              Django Chat

                                                                                              75 Listeners

                                                                                              Last Week in AI by Skynet Today

                                                                                              Last Week in AI

                                                                                              311 Listeners

                                                                                              Machine Learning Street Talk (MLST) by Machine Learning Street Talk (MLST)

                                                                                              Machine Learning Street Talk (MLST)

                                                                                              98 Listeners

                                                                                              The Pragmatic Engineer by Gergely Orosz

                                                                                              The Pragmatic Engineer

                                                                                              74 Listeners