The Real Python Podcast

The Real Python Podcast

By Real PythonTechnology
Download on the App Store

The Real Python Podcast episodes

  • Coding Python With Confidence: Beginners Live Course Participants

    Are you looking for that solid foundation to begin your Python journey? Would the accountability of scheduled group classes help you get through the basics and start building something? This week, two members of the Python for Beginners live course discuss their experiences.

    We speak with course instructor Stephen Gruppetta about building a course where the participants start using their knowledge as soon as possible. He describes how he’s evolved his teaching techniques over years of working with beginners. We explore the advantages of having a curated collection of written tutorials, video courses, and a forum for asking those nagging questions.

    We also speak with students Louis and Andrew about their experiences learning Python through the course. They discuss learning how to apply their new skills, employing them in their careers, and building confidence to continue their Python learning journey.

    Spotlight: Python for Beginners: Code With Confidence

    Learn the fundamentals of Python step-by-step in a friendly, interactive cohort. Build confidence writing code and understand the “why” behind Python’s core concepts.

    Topics:

    • 00:00:00 – Introduction
    • 00:01:40 – Instructor Stephen Gruppetta
    • 00:02:42 – Designing the course
    • 00:09:01 – Introducing mini-projects early
    • 00:13:22 – How have the questions changed for Python beginners?
    • 00:20:23 – Taking advantage of Real Python resources
    • 00:24:07 – More courses for 2026
    • 00:25:40 – Spotlight: Python for Beginners
    • 00:26:39 – Python for Beginners participants
    • 00:27:50 – Louis’ background in programming
    • 00:30:46 – Andrew’s background in programming
    • 00:37:43 – Starting to use the knowledge with mini-projects
    • 00:42:52 – What were challenges with the language?
    • 00:54:15 – Working on the larger final project
    • 00:59:45 – What advantages did the cohort-style course provide?
    • 01:03:56 – Are you ready for that blank page?
    • 01:12:00 – How do you see yourself using these new skills?
    • 01:17:39 – Thanks and goodbye
    • Show Links:

      • Python for Beginners: Code With Confidence – Real Python
      • Episode #246: Learning Intermediate Python With a Deep Dive Course
      • Intermediate Python Deep Dive Course – Real Python
      • Cohort-Based Live Python Courses – Real Python
      • MI6 chief: We’ll be as fluent in Python as we are in Russian - The Register
      • Level up your Python skills with our expert-led courses:

        • Python Basics: Setting Up Python
        • Python Basics: Code Your First Python Program
        • Python Basics: Lists and Tuples
        • Support the podcast & join our community of Pythonistas

          1 hr 19 min
        • PyCoder's Weekly 2025 Top Articles & Hidden Gems

          PyCoder’s Weekly included over 1,500 links to articles, blog posts, tutorials, and projects in 2025. Christopher Trudeau is back on the show this week to help wrap up everything by sharing some highlights and uncovering a few hidden gems from the pile.

          We share the top links explored by PyCoder’s readers. We also dig into trends across all the articles and stories this year. We highlight a few gems that we didn’t cover on the show and a couple that explore the overall themes of the year.

          We hope you enjoy this review! We look forward to bringing you an upcoming year full of great Python news, articles, topics, and projects.

          Course Spotlight: Using Functional Programming in Python

          Boost your Python skills with a quick dive into functional programming: what it is, how Python supports it, and why it matters.

          Topics:

          • 00:00:00 – Introduction
          • 00:01:52 – Django 6.0 released
          • 00:02:58 – The Inner Workings of Python Dataclasses Explained
          • 00:03:40 – Going Beyond requirements.txt With pylock.toml and PEP 751
          • 00:04:58 – Django vs. FastAPI, An Honest Comparison
          • 00:05:46 – How to Use Loguru for Simpler Python Logging
          • 00:06:47 – Narwhals: Unified DataFrame Functions
          • 00:08:32 – Observations and statistics for the year of articles
          • 00:13:23 – Data Validation Libraries for Polars (2025 Edition)
          • 00:18:53 – Video Course Spotlight
          • 00:20:25 – Create Temporary Files and Directories in Unittest
          • 00:22:27 – Capture Stdout and Stderr in Unittest
          • 00:24:59 – I don’t like NumPy
          • 00:26:34 – Python performance myths and fairy tales
          • 00:31:05 – Congratulations on making through 2025!
          • News:

            • Django 6.0 released - Django Weblog
            • Top PyCoders Links 2025:

              • The Inner Workings of Python Dataclasses Explained – Discover how Python dataclasses work internally! Learn how to use __annotations__ and exec() to make our own dataclass decorator!
              • Episode #249: Going Beyond requirements.txt With pylock.toml and PEP 751 – What is the best way to record the Python dependencies for the reproducibility of your projects? What advantages will lock files provide for those projects? This week on the show, we welcome back Python Core Developer Brett Cannon to discuss his journey to bring PEP 751 and the pylock.toml file format to the community.
              • Django vs. FastAPI, An Honest Comparison – David has worked with Django for a long time, but recently has done some deeper coding with FastAPI. As a result, he’s able to provide a good contrast between the libraries and why/when you might choose one over the other.
              • How to Use Loguru for Simpler Python Logging – Real Python – In this tutorial, you’ll learn how to use Loguru to quickly implement better logging in your Python applications. You’ll spend less time wrestling with logging configuration and more time using logs effectively to debug issues.
              • Narwhals: Unified DataFrame Functions for pandas, Polars, and PySpark – Narwhals is a lightweight compatibility layer between DataFrame libraries. You can use it as a common interface to write reproducible and maintainable data science code which supports pandas, Polars, DuckDB, PySpark, PyArrow, and more.
              • Featured Links:

                • Data Validation Libraries for Polars (2025 Edition) – Pointblank - Given that Polars is so hot right now and that data validation is an important part of a data pipeline, this post explores five Python data validation libraries that support Polars DataFrames. Through contrasting and comparison, the post puts forward which of them are best for specific use cases.
                • Python: Create Temporary Files and Directories in Unittest – Sometimes, tests need temporary files or directories. You can do this in Python’s unittest with the standard library tempfile module. This post looks at some recipes to do so within individual tests and setUp().
                • Python: Capture Stdout and Stderr in Unittest – When testing code that outputs to the terminal through either standard out (stdout) or standard error (stderr), you might want to capture that output and make assertions on it.
                • I don’t like NumPy – This opinion piece talks about why NumPy gets difficult fast. Two dimensions to your array? No problem, the calc is mostly self evident. Add a couple more dimensions and it gets messy fast. See also the associated HN discussion, which also includes possible solutions.
                • Python performance myths and fairy tales – This post summarizes a talk by Antonio Cuni who is a long time contributor to PyPy, the alternate Python interpreter. The talk spoke about the challenges and limits of performance in Python and how the flexibility of dynamic languages comes at a cost. See also the associated HN discussion.
                • Additional Links:

                  • Episode #224: Narwhals: Expanding DataFrame Compatibility Between Libraries
                  • Episode #272: Michael Kennedy: Managing Your Own Python Infrastructure
                  • Episode #510 - 10 Polars Tools and Techniques To Level Up Your Data Science
                  • ty
                  • waelstow: Python unittest utilities. Includes output capture, test discovery, and directory relocation.
                  • PyPy
                  • spylang · GitHub
                  • Level up your Python skills with our expert-led courses:

                    • Filtering Iterables With Python
                    • NumPy Techniques and Practical Examples
                    • Using Functional Programming in Python
                    • Support the podcast & join our community of Pythonistas

                      33 min
                    • Moving Towards Spec-Driven Development

                      What are the advantages of spec-driven development compared to vibe coding with an LLM? Are these recent trends a move toward declarative programming? This week on the show, Marc Brooker, VP and Distinguished Engineer at AWS, joins us to discuss specification-driven development and Kiro.

                      Marc describes the process of developing an application by writing specifications, which outline what a program should do and what needs it should meet. We dig into a bit of computer science history to explore the differences between declarative and imperative programming.

                      We also discuss Kiro, a new integrated development environment from Amazon, built around turning prompts into structured requirements. We examine the various types of documents used to specify tasks, requirements, design, and steering.

                      Real Python Resource Spotlight: Python Coding With AI - Learning Path

                      Explore tools and workflows for AI in Python: coding partners, prompt engineering, RAG, ChromaDB, FastAPI chatbots, and MCP integrations. Stay current and start today.

                      Topics:

                      • 00:00:00 – Introduction
                      • 00:02:41 – How did you get involved in open source?
                      • 00:07:23 – How would you describe spec-driven development?
                      • 00:10:49 – Balancing the desire to start coding with defining the project
                      • 00:13:06 – What does this documentation look like?
                      • 00:18:27 – Declarative vs imperative programming
                      • 00:24:13 – Infrastructure as part of the design
                      • 00:27:03 – Getting started with a small project
                      • 00:29:05 – Committing the spec files along with the code
                      • 00:31:08 – What is steering?
                      • 00:34:17 – How to get better at distilling specifications?
                      • 00:38:59 – What are anti-patterns in spec-driven development?
                      • 00:41:08 – Should you avoid third-party libraries?
                      • 00:43:16 – Real Python Resource Spotlight
                      • 00:44:39 – Getting started with Kiro
                      • 00:51:00 – Neuro-symbolic AI
                      • 00:55:41 – What are you excited about in the world of Python?
                      • 00:58:36 – What do you want to learn next?
                      • 01:00:18 – How can people follow your work online?
                      • 01:00:57 – Thanks and goodbye
                      • Show Links:

                        • Kiro and the future of AI spec-driven software development - Kiro
                        • Marc Brooker’s Blog - Marc’s Blog
                        • Kiro: The AI IDE for prototype to production
                        • Beyond Prompts: The Future of AI-Assisted Development | Marc Brooker - YouTube
                        • Understanding Spec-Driven-Development: Kiro, spec-kit, and Tessl
                        • Declarative programming - Wikipedia
                        • Behaviour-Driven Development - Cucumber
                        • Steering - Docs - Kiro
                        • Best practices - Docs - Kiro
                        • CLI - Kiro
                        • Does your code match your spec? - Kiro
                        • Amazon takes on AI’s biggest nightmare: Hallucinations - Fast Company
                        • Neuro-symbolic AI - Wikipedia
                        • Spec-Driven Development: The Waterfall Strikes Back
                        • G-code - Wikipedia
                        • Marc Brooker (@MarcJBrooker) / X
                        • Marc Brooker (@[email protected])
                        • Marc Brooker - LinkedIn
                        • Level up your Python skills with our expert-led courses:

                          • Building a Neural Network & Making Predictions With Python AI
                          • First Steps With LangChain
                          • Getting Started With Claude Code
                          • Support the podcast & join our community of Pythonistas

                            1 hr 2 min
                          • Exploring Quantum Computing & Python Frameworks

                            What are the recent advances in the field of quantum computing and high-performance computing? And what Python tools can you use to develop programs that run on quantum computers? This week on the show, Real Python author Negar Vahid discusses her tutorial, “Quantum Computing Basics With Qiskit.”

                            Negar digs into the fundamentals of quantum computers, describing qubits, superposition, entanglement, and interference. We discuss the concept of quantum advantage and the fields of exploration where quantum computing promises speed-ups over classical computers. She also shares tools for designing quantum circuits with Python.

                            Course Spotlight: Profiling Performance in Python

                            Learn to profile Python programs with built-in and popular third-party tools, and turn performance insights into faster code.

                            Topics:

                            • 00:00:00 – Introduction
                            • 00:01:31 – Writing for Real Python
                            • 00:02:37 – What drew you to quantum computing?
                            • 00:04:27 – What is quantum advantage?
                            • 00:07:10 – Quantum computing basics article
                            • 00:09:32 – Linear algebra
                            • 00:10:32 – What is a quantum computer?
                            • 00:14:52 – Superconducting devices
                            • 00:17:29 – Looking for ways to advance computing
                            • 00:19:17 – Superposition of qubits and entanglement
                            • 00:22:43 – Video Course Spotlight
                            • 00:24:27 – Potential areas of research
                            • 00:26:45 – IBM quantum computing & Qiskit
                            • 00:29:43 – Describing superposition as a spinning coin
                            • 00:30:41 – Other types of quantum computers
                            • 00:32:08 – Qiskit Global Summer School 2025
                            • 00:32:48 – Qiskit Advocate
                            • 00:33:49 – What do you see in the near future?
                            • 00:37:42 – What are the type of HPCs?
                            • 00:40:05 – Additional resources to learn more
                            • 00:43:32 – Answering to skeptics
                            • 00:47:51 – What are you excited about in the world of Python?
                            • 00:48:24 – What do you want to learn next?
                            • 00:49:04 – What’s the best way to follow your work online?
                            • 00:49:25 – Thanks and goodbye
                            • Show Links:

                              • Quantum Computing Basics With Qiskit
                              • Quantum mechanics - Wikipedia
                              • Qubit - Wikipedia
                              • Quantum superposition - Wikipedia
                              • Quantum entanglement - Wikipedia
                              • Quantum supremacy - Wikipedia
                              • Linear Algebra in Python: Matrix Inverses and Least Squares – Real Python
                              • Linear Algebra - Khan Academy
                              • Quantum Echoes: Towards real world applications - YouTube
                              • Meet Willow, our state-of-the-art quantum chip
                              • IBM and Vanguard explore quantum optimization for finance
                              • Register today for Qiskit Global Summer School 2025
                              • Aqora: Explore Quantum Computing for Real-World Applications
                              • Qiskit - IBM Quantum Computing
                              • IBM Quantum Platform
                              • Cirq - Google Quantum AI
                              • Xanadu - PennyLane
                              • Classiq - Quantum Computing Software - Limitless Development |
                              • Computer architecture - Wikipedia
                              • NumPy
                              • uv
                              • About Negar Vahid – Real Python
                              • The Path Integral
                              • Negar Vahid - LinkedIn
                              • Level up your Python skills with our expert-led courses:

                                • NumPy Techniques and Practical Examples
                                • Profiling Performance in Python
                                • Python Project Management With uv
                                • Support the podcast & join our community of Pythonistas

                                  51 min
                                • Building a FastAPI Application & Exploring Python Concurrency

                                  What are the steps to get started building a FastAPI application? What are the different types of concurrency available in Python? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder’s Weekly articles and projects.

                                  We discuss a recent Real Python step-by-step tutorial about programming a FastAPI example application. You practice installing FastAPI, building your first endpoints, adding path and query parameters, and validating endpoints using Pydantic.

                                  Christopher covers updates to his Real Python video course about concurrency in Python. The course digs into what concurrency means in Python and why you might want to incorporate it in your code. He describes the different methods and demonstrates how to approach coding using threading, asyncio, and multiprocessing.

                                  We also share several other articles and projects from the Python community, including a news roundup, the PSF fundraiser campaign for 2025, where Python stores attributes, performance hacks for faster Python code, a project to transform functions into a web interface, and a Python disk-backed cache.

                                  Course Spotlight: Python Descriptors

                                  Learn what Python descriptors are, how the descriptor protocol works, and when descriptors are useful, with practical, hands-on examples.

                                  Topics:

                                  • 00:00:00 – Introduction
                                  • 00:02:18 – Django Security Release
                                  • 00:02:46 – Django Is Now a CVE Numbering Authority (CNA)
                                  • 00:03:53 – An Annual Release Cycle for Django
                                  • 00:04:12 – PEP 810: Explicit Lazy Imports (Accepted)
                                  • 00:04:27 – PSF Board Office Hour Sessions for 2026
                                  • 00:05:42 – PyCon US 2026: Call for Proposals Open
                                  • 00:06:15 – PSF Fundraiser campaign for 2025
                                  • 00:10:12 – A Close Look at a FastAPI Example Application
                                  • 00:16:36 – Speed Up Python With Concurrency
                                  • 00:21:08 – __dict__: Where Python Stores Attributes
                                  • 00:25:59 – Video Course Spotlight
                                  • 00:27:17 – 10 Smart Performance Hacks for Faster Python Code
                                  • 00:29:56 – FuncToWeb: Transform Python Functions Into a Web Interface
                                  • 00:32:48 – python-diskcache: Python Disk-Backed Cache
                                  • 00:34:07 – Thanks and goodbye
                                  • News:

                                    • Django Security Release: 5.2.8, 5.1.14, and 4.2.26
                                    • Django Is Now a CVE Numbering Authority (CNA)
                                    • An Annual Release Cycle for Django - Buttondown
                                    • PEP 810: Explicit Lazy Imports (Accepted)
                                    • PSF Board Office Hour Sessions for 2026
                                    • PyCon US, Long Beach CA, 2026: Call for Proposals Open
                                    • PSF Fundraiser campaign for 2025
                                    • Connecting the Dots: Understanding the PSF’s Current Financial Outlook
                                    • Show Links:

                                      • A Close Look at a FastAPI Example Application – Set up a FastAPI example app, add path and query parameters, and handle CRUD operations with Pydantic for clean, validated endpoints.
                                      • Speed Up Python With Concurrency – Learn what concurrency means in Python and why you might want to use it. You’ll see a simple, non-concurrent approach and then look into why you’d want threading, asyncio, or multiprocessing.
                                      • __dict__: Where Python Stores Attributes – Most Python objects store their attributes in a __dict__ dictionary. Modules and classes always use __dict__, but not everything does.
                                      • 10 Smart Performance Hacks for Faster Python Code – Some practical optimization hacks, from data structures to built-in modules, that boost speed, reduce overhead, and keep your Python code clean.
                                      • Projects:

                                        • FuncToWeb: Transform Python Functions Into a Web Interface
                                        • python-diskcache: Python Disk-Backed Cache
                                        • Additional Links:

                                          • Become a Member of the PSF - Python Software Foundation
                                          • FastAPI
                                          • Welcome to Pydantic
                                          • Quiz: A Close Look at a FastAPI Example Application – Practice FastAPI basics with path parameters, request bodies, async endpoints, and CORS. Build confidence to design and test simple Python web APIs.
                                          • Diskcache, more than caching - Bite code!
                                          • Level up your Python skills with our expert-led courses:

                                            • Speed Up Python With Concurrency
                                            • Python REST APIs With FastAPI
                                            • Python Descriptors
                                            • Support the podcast & join our community of Pythonistas

                                              36 min
                                            • Preparing Data Science Projects for Production

                                              How do you prepare your Python data science projects for production? What are the essential tools and techniques to make your code reproducible, organized, and testable? This week on the show, Khuyen Tran from CodeCut discusses her new book, “Production Ready Data Science.”

                                              Khuyen shares how she got into blogging and what motivated her to write a book. She shares tips on how to create repeatable workflows. We delve into modern Python tools that will help you bring your projects to production.

                                              Course Spotlight: Python Project Management With uv

                                              Create and manage Python projects with uv, a blazing-fast package and project manager built in Rust. Learn setup, workflow, and best practices.

                                              Topics:

                                              • 00:00:00 – Introduction
                                              • 00:01:27 – Recent article about top six visualization libraries
                                              • 00:02:19 – How long have you been blogging?
                                              • 00:03:55 – What do you cover in your book?
                                              • 00:07:07 – Potential issues with notebooks
                                              • 00:11:40 – Structuring data science projects
                                              • 00:15:12 – Reproducibility and sharing notebooks
                                              • 00:20:33 – Using Polars
                                              • 00:26:03 – Advantages of marimo notebooks
                                              • 00:34:21 – Video Course Spotlight
                                              • 00:35:44 – Shipping a project in data science
                                              • 00:42:10 – Advice on testing
                                              • 00:49:50 – Creating importable parameter values
                                              • 00:53:55 – Seeing the commit diff of a notebook
                                              • 00:55:12 – What are you excited about in the world of Python?
                                              • 00:56:04 – What do you want to learn next?
                                              • 00:56:52 – What’s the best way to follow your work online?
                                              • 00:58:28 – Thanks and goodbye
                                              • Show Links:

                                                • Production Ready Data Science by Khuyen Tran - CodeCut
                                                • CodeCut
                                                • Top 6 Python Libraries for Visualization: Which One to Use? - CodeCut
                                                • Ruff
                                                • uv
                                                • Cookiecutter
                                                • marimo - a next-generation Python notebook
                                                • Episode #230: marimo: Reactive Notebooks and Deployable Web Apps in Python
                                                • Polars — DataFrames for the new era
                                                • Episode #260: Harnessing the Power of Python Polars
                                                • Narwhals
                                                • Episode #224: Narwhals: Expanding DataFrame Compatibility Between Libraries
                                                • pytest documentation
                                                • nbdime: Tools for diffing and merging of Jupyter notebooks.
                                                • LangChain
                                                • Build Production-Ready LLM Agents with LangChain 1.0 Middleware - CodeCut
                                                • Build an LLM RAG Chatbot With LangChain
                                                • Khuyen Tran - LinkedIn
                                                • Khuyen Tran (@KhuyenTran16) - X
                                                • Level up your Python skills with our expert-led courses:

                                                  • Working With Python Polars
                                                  • Getting Started With marimo Notebooks
                                                  • Python Project Management With uv
                                                  • Support the podcast & join our community of Pythonistas

                                                    1 hr
                                                  • Advice for Writing Maintainable Python Code

                                                    What are techniques for writing maintainable Python code? How do you make your Python more readable and easier to refactor? 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 writing code that is easy to maintain. We cover writing comments, creating meaningful names, avoiding magic numbers, and preparing code for your future self.

                                                    We also share several other articles and projects from the Python community, including release news, modifying the REPL, differences between Polars and pandas, generating realistic test data in Python, investigating quasars with Polars and marimo, creating simple meta tags for Django objects, and a GUI toolkit for grids of buttons.

                                                    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:53 – PyTorch 2.9 Release
                                                    • 00:02:38 – Django 6.0 Beta 1
                                                    • 00:03:05 – Handy Python REPL Modifications
                                                    • 00:11:06 – Polars vs pandas: What’s the Difference?
                                                    • 00:17:55 – Faker: Generate Realistic Test Data in Python
                                                    • 00:22:06 – Video Course Spotlight
                                                    • 00:23:35 – Investigating Quasars With Polars and marimo
                                                    • 00:27:37 – Writing Maintainable Code
                                                    • 00:49:48 – buttonpad: GUI Toolkit for Grids of Buttons
                                                    • 00:52:10 – django-snakeoil: Simple Meta Tags for Django Objects
                                                    • 00:54:07 – Thanks and goodbye
                                                    • News:

                                                      • PyTorch 2.9 Release
                                                      • Django 6.0 Beta 1
                                                      • Show Links:

                                                        • Handy Python REPL Modifications – Trey uses the the Python REPL a lot. In this post he shows you his favorite customizations to make the REPL even better.
                                                        • Polars vs pandas: What’s the Difference? – Discover the key differences in Polars vs pandas to help you choose the right Python library for faster, more efficient data analysis.
                                                        • Faker: Generate Realistic Test Data in Python – If you want to generate test data with specific types (bool, float, text, integers) and realistic characteristics (names, addresses, colors, emails, phone numbers, locations), Faker can help you do that.
                                                        • Investigating Quasars With Polars and marimo – Learn to visualize quasar redshift data by building an interactive marimo dashboard using Polars, pandas, and Matplotlib. You’ll practice retrieving, cleaning, and displaying data in your notebook. You’ll also build interactive UI components that live-update visualizations in the notebook.
                                                        • Discussion:

                                                          • Writing Maintainable Code – “Maintainable code can easily be the difference between long-lived, profitable software, and short-lived money pits.” Read on to see just what maintainable code is and how to achieve it.
                                                          • Projects:

                                                            • buttonpad: GUI Toolkit for Grids of Buttons
                                                            • django-snakeoil: Simple Meta Tags for Django Objects
                                                            • Additional Links:

                                                              • The Python Standard REPL: Try Out Code and Ideas Quickly – Real Python
                                                              • pyrepl-hacks: Hacky extensions and helper functions for the new Python REPL
                                                              • pandas - Python Data Analysis Library
                                                              • Polars — DataFrames for the new era
                                                              • Welcome to Faker’s documentation!
                                                              • SOLID Principles: Improve Object-Oriented Design in Python – Real Python
                                                              • The Pragmatic Programmer - Wikipedia
                                                              • Level up your Python skills with our expert-led courses:

                                                                • Design and Guidance: Object-Oriented Programming in Python
                                                                • Modern Python Linting With Ruff
                                                                • Investigating Quasar Data With Polars and Interactive marimo Notebooks
                                                                • Support the podcast & join our community of Pythonistas

                                                                  55 min
                                                                • Michael Kennedy: Managing Your Own Python Infrastructure

                                                                  How do you deploy your Python application without getting locked into an expensive cloud-based service? This week on the show, Michael Kennedy from the Talk Python podcast returns to discuss his new book, “Talk Python in Production.”

                                                                  Michael runs multiple Python applications online, including a training site, blog, and two podcasts. While searching for the best solution for hosting his business, he documented his findings in a book. We talk about containerizing Python applications, generating static sites, preparing for traffic spikes, and avoiding cloud service lock-in.

                                                                  Course Spotlight: Speed Up Python With Concurrency

                                                                  Learn what concurrency means in Python and why you might want to use it. You’ll see a simple, non-concurrent approach and then look into why you’d want threading, asyncio, or multiprocessing.

                                                                  Topics:

                                                                  • 00:00:00 – Introduction
                                                                  • 00:01:28 – Welcome back!
                                                                  • 00:03:05 – Is this your first book?
                                                                  • 00:04:13 – A book that reads like a blog
                                                                  • 00:06:15 – Incentives to keep you locked in
                                                                  • 00:09:20 – Following the journey of the Talk Python sites
                                                                  • 00:11:47 – Audio reader briefs
                                                                  • 00:15:19 – Discussing Dev Ops as a topic
                                                                  • 00:18:31 – Background of developing for the web
                                                                  • 00:20:14 – Stack-Native vs Cloud-Native
                                                                  • 00:24:40 – Using Quart web framework
                                                                  • 00:25:50 – Embracing Docker
                                                                  • 00:32:39 – Sharing a single powerful machine allows for individual peaks
                                                                  • 00:37:04 – Video Course Spotlight
                                                                  • 00:38:30 – Minimal cloud lock-in
                                                                  • 00:40:04 – Using OrbStack for local builds and testing
                                                                  • 00:42:07 – Coolify as a Docker host
                                                                  • 00:47:14 – Moving away from Google analytics and a GDPR rant
                                                                  • 00:50:43 – Diving deep into web tech of ngnix, SSL, and CDNs
                                                                  • 00:54:33 – Talking about the prices for hosting
                                                                  • 00:59:09 – Creating static sites
                                                                  • 01:06:22 – Invitation to come back to discuss AI and agents
                                                                  • 01:10:06 – What are you excited about in the world of Python?
                                                                  • 01:16:19 – What do you want to learn next?
                                                                  • 01:17:34 – What’s the best way to follow your work online?
                                                                  • 01:19:40 – Thanks and goodbye
                                                                  • Links:

                                                                    • Talk Python in Production Book
                                                                    • Quart documentation: Documentation
                                                                    • Docker: Accelerated Container Application Development
                                                                    • South Korea Loses Its Government “Cloud” After a Fire: No Backups or Recovery Plan
                                                                    • OrbStack: Fast, light, simple Docker & Linux
                                                                    • Coolify
                                                                    • Finances & the Future of Cara: Artist Social & Portfolio Platform
                                                                    • awesome-selfhosted: A list of Free Software network services and web applications which can be hosted on your own servers
                                                                    • Umami: Modern analytics platform
                                                                    • umami-python: Umami Analytics Client for Python by Michael Kennedy
                                                                    • Hugo: The world’s fastest framework for building websites
                                                                    • mikeckennedy - Michael Kennedy: GitHub
                                                                    • Michael Kennedy’s Thoughts on Technology
                                                                    • Talk Python in Production Book - Link With Discount Code
                                                                    • Michael’s Recommended Hosting Locations:

                                                                      • DigitalOcean - Cloud Infrastructure for Developers
                                                                      • Hetzner - Dedicated Server, Cloud & Hosting aus Deutschland
                                                                      • Level up your Python skills with our expert-led courses:

                                                                        • Speed Up Python With Concurrency
                                                                        • Deploy Your Python Script on the Web With Flask
                                                                        • Creating a Scalable Flask Web Application From Scratch
                                                                        • Support the podcast & join our community of Pythonistas

                                                                          1 hr 21 min
                                                                        • Benchmarking Python 3.14 & Enabling Asyncio to Scale

                                                                          How does Python 3.14 perform under a few hand-crafted benchmarks? Does the performance of asyncio scale on the free-threaded build? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder’s Weekly articles and projects.

                                                                          At the top of the show, we have a mountain of release news and Python Enhancement Proposals to cover. Then, we dig into a couple of articles covering the performance of Python 3.14. The first is a benchmarking comparison of the last several Python versions and their variations, including JIT and free-threaded mode. The second explores the changes in 3.14 that enable asyncio to scale on CPython’s free-threaded build.

                                                                          We also share several other articles and projects from the Python community, including an introduction to NiceGUI, a free-threaded Python library compatibility checker, an exploration of what is “good taste” in software engineering, HTML templating with t‑strings, and a tool for testing Sphinx docs instantly in the browser.

                                                                          Course Spotlight: Documenting Python Projects With Sphinx and Read the Docs

                                                                          In this video series, you’ll create project documentation from scratch using Sphinx, the de facto standard for Python. You’ll also hook your code repository up to Read the Docs to automatically build and publish your code documentation.

                                                                          Topics:

                                                                          • 00:00:00 – Introduction
                                                                          • 00:02:28 – Python 3.12.12, 3.11.14, 3.10.19 and 3.9.24 now available
                                                                          • 00:03:08 – Python 3.13.9 is now available
                                                                          • 00:03:26 – Python 3.15.0 alpha 1
                                                                          • 00:04:02 – PEP 804: An External Dependency Registry and Name Mapping Mechanism
                                                                          • 00:04:56 – PEP 806: Mixed Sync/Async Context Managers With Precise Async Marking
                                                                          • 00:06:34 – PEP 807: Index Support for Trusted Publishing
                                                                          • 00:07:21 – PEP 809: Stable ABI for the Future
                                                                          • 00:08:10 – PEP 810: Explicit Lazy Imports
                                                                          • 00:10:31 – Python lazy imports you can use today
                                                                          • 00:10:48 – Lazy Imports Using wrapt
                                                                          • 00:11:18 – Python 3.14 Is Here. How Fast Is It?
                                                                          • 00:17:45 – Free-Threaded Python Library Compatibility Checker
                                                                          • 00:19:54 – Scaling Asyncio on Free-Threaded Python
                                                                          • 00:24:06 – Real Python 3.14 Resources
                                                                          • 00:25:18 – Video Course Spotlight
                                                                          • 00:26:31 – Intro to NiceGUI: Build Interactive Python Web Apps
                                                                          • 00:30:22 – What Is “Good Taste” in Software Engineering?
                                                                          • 00:40:52 – Try Sphinx Docs Instantly in Your Browser
                                                                          • 00:43:11 – Introducing tdom: HTML Templating With t‑strings
                                                                          • 00:46:21 – Thanks and goodbye
                                                                          • News:

                                                                            • Python Insider: Python 3.12.12, 3.11.14, 3.10.19 and 3.9.24 are now available!
                                                                            • Python Insider: Python 3.13.9 is now available!
                                                                            • Python Insider: Python 3.15.0 alpha 1
                                                                            • PEP 804: An External Dependency Registry and Name Mapping Mechanism (Added)
                                                                            • PEP 806: Mixed Sync/Async Context Managers With Precise Async Marking (Added)
                                                                            • PEP 807: Index Support for Trusted Publishing (Added)
                                                                            • PEP 809: Stable ABI for the Future (Added)
                                                                            • PEP 810: Explicit Lazy Imports (Added)
                                                                            • Python lazy imports you can use today - PythonTest
                                                                            • Lazy Imports Using wrapt – PEP 810 proposes adding explicit lazy imports to Python, but you can already achieve this with third-party libraries. This post shows you how using wrapt.
                                                                            • Show Links:

                                                                              • Python 3.14 Is Here. How Fast Is It? – A comprehensive deep-dive comparison of performance figures between Python versions and variations, including the JIT and free-threaded mode.
                                                                              • Free-Threaded Python Library Compatibility Checker – A heat map and table summarizing Python free-threaded compatibility in a variety of common Python packages.
                                                                              • Python 3.14: 3 asyncio Changes – asyncio changes are often overlooked. In the latest 3.14 release, there are three new asyncio features and changes.
                                                                              • Scaling Asyncio on Free-Threaded Python – A recap of the work done in Python 3.14 to enable asyncio to scale on the free-threaded build of CPython.
                                                                              • Intro to NiceGUI: Build Interactive Python Web Apps – Use NiceGUI to turn Python scripts into interactive web apps without touching HTML, CSS, or JavaScript.
                                                                              • Discussion:

                                                                                • What Is “Good Taste” in Software Engineering? – This opinion piece discusses the difference between skill and taste when writing software. What counts as “clean code” for one person may not be the same for another.
                                                                                • Projects:

                                                                                  • Try Sphinx Docs Instantly in Your Browser
                                                                                  • Introducing tdom: HTML Templating With t‑strings – Python 3.14 introduces t-strings, and this article showcases tdom, a new HTML DOM toolkit that takes advantage of them to produce safer output.
                                                                                  • Additional Links:

                                                                                    • Benchmarking MicroPython - miguelgrinberg.com
                                                                                    • Is Python Really That Slow? - miguelgrinberg.com
                                                                                    • Bubble sort - Wikipedia
                                                                                    • Fibonacci sequence - Wikipedia
                                                                                    • Python 3.14: Cool New Features for You to Try – Real Python
                                                                                    • What’s New in Python 3.14 – Real Python
                                                                                    • Python 3.14 Preview: REPL Autocompletion and Highlighting – Real Python
                                                                                    • Python 3.13 Preview: A Modern REPL – Real Python
                                                                                    • Python 3.14 Preview: Lazy Annotations – Real Python
                                                                                    • Python 3.14 Preview: Better Syntax Error Messages – Real Python
                                                                                    • Python 3.14 Preview: Template Strings (T-Strings) – Real Python
                                                                                    • Python 3.13: Free Threading and a JIT Compiler – Real Python
                                                                                    • Quasar Framework
                                                                                    • Level up your Python skills with our expert-led courses:

                                                                                      • Documenting Python Projects With Sphinx and Read the Docs
                                                                                      • Building a Python GUI Application With Tkinter
                                                                                      • What's New in Python 3.14
                                                                                      • Support the podcast & join our community of Pythonistas

                                                                                        48 min
                                                                                      • Evolving Teaching Python in the Classroom

                                                                                        How is teaching young students Python changing with the advent of LLMs? This week on the show, Kelly Schuster-Paredes from the Teaching Python podcast joins us to discuss coding and AI in the classroom.

                                                                                        Kelly shares her current thoughts on teaching Python to young students. She stresses that the earliest classes still need to cover the fundamentals. We also discuss how coding instruction is evolving toward reading and reviewing code more than writing it.

                                                                                        Course Spotlight: Building a Python GUI Application With Tkinter

                                                                                        In this video course, you’ll learn the basics of GUI programming with Tkinter, the de facto Python GUI framework. Master GUI programming concepts such as widgets, geometry managers, and event handlers. Then, put it all together by building two applications: a temperature converter and a text editor.

                                                                                        Topics:

                                                                                        • 00:00:00 – Introduction
                                                                                        • 00:01:28 – Starting to use AI in the classroom
                                                                                        • 00:05:17 – How did students react to using NLP and NLTK?
                                                                                        • 00:06:40 – Teaching Python beginners now
                                                                                        • 00:12:31 – Code editor changes with LLM features
                                                                                        • 00:15:25 – Less in-classroom teaching
                                                                                        • 00:16:22 – What sparks interest in coding for students?
                                                                                        • 00:21:14 – Video Course Spotlight
                                                                                        • 00:22:44 – Exploratory robotics
                                                                                        • 00:25:56 – Do you need to struggle to learn?
                                                                                        • 00:32:52 – Working through frustration and the tendency not to read
                                                                                        • 00:36:37 – Mixed feelings on the changes to teaching
                                                                                        • 00:41:19 – Teaching through reading and code reviewing
                                                                                        • 00:45:33 – Lower-level classes are still about fundamentals
                                                                                        • 00:47:47 – Other areas of teaching using AI tools
                                                                                        • 00:51:29 – Improving prompting skills
                                                                                        • 00:54:22 – Using these tools to organize creativity
                                                                                        • 00:54:53 – What AI tools are working for you?
                                                                                        • 00:57:13 – Sharing knowledge and techniques with other teachers
                                                                                        • 01:00:02 – General advice for teachers
                                                                                        • 01:02:03 – What are you excited about in the world of Python?
                                                                                        • 01:02:52 – What do you want to learn next?
                                                                                        • 01:03:46 – How can people follow your work online?
                                                                                        • 01:04:10 – Thanks and goodbye
                                                                                        • Show Links:

                                                                                          • Teaching Python Podcast
                                                                                          • Code With Mu
                                                                                          • Flint - AI for schools
                                                                                          • Claude
                                                                                          • colab.google
                                                                                          • AI Explorers’ Club 🛶 – Center for Digital Thriving
                                                                                          • Building a Python GUI Application With Tkinter – Real Python
                                                                                          • TensorFlow
                                                                                          • SPIKE™ Prime – STEAM Set - Grades 6 - 8 - LEGO® Education
                                                                                          • Hexapod (robotics) - Wikipedia
                                                                                          • How to Use AI Without Becoming Stupid - Commoncog
                                                                                          • Prompt Cowboy - #1 prompt generator
                                                                                          • Get started with Python in Excel - Microsoft Support
                                                                                          • Episode #186: Exploring Python in Excel
                                                                                          • IBM TechXchange 2025 - Orlando, FL - October 6-9
                                                                                          • Kelly Schuster- Paredes - LinkedIn
                                                                                          • Level up your Python skills with our expert-led courses:

                                                                                            • Python Basics: Code Your First Python Program
                                                                                            • Python Deep Learning: PyTorch vs Tensorflow
                                                                                            • Building a Python GUI Application With Tkinter
                                                                                            • Support the podcast & join our community of Pythonistas

                                                                                              1 hr 5 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