The Real Python Podcast

The Real Python Podcast

By Real PythonTechnology
Download on the App Store

The Real Python Podcast episodes

  • The Joy of Tinkering & Python Free-Threading Performance

    What keeps your spark alive for developing software and learning Python? Do you like to try new frameworks, build toy projects, or collaborate with other developers? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder’s Weekly articles and projects.

    We discuss the joy of tinkering with Python as a way to keep your developer skills sharp. We dig into our techniques for continuing to learn and build projects.

    Christopher shares an article that examines the performance of Python 3.13’s free-threading features. This piece uses a clever example to measure how the new features behave with large datasets and parallelization.

    We share several other articles and projects from the Python community, including a group of new releases, common use cases and examples for Python closures, finding the opposite of cloud-native, Python’s soft keywords, a command-line utility for taking automated screenshots of websites, and putting the Django admin in the terminal with Textual.

    This episode is sponsored by Windsurf.

    Course Spotlight: Python Inner Functions

    In this step-by-step course, you’ll learn what inner functions are in Python, how to define them, and what their main use cases are. You’ll see how to write helper functions, create closure factory functions, and how to add behavior to existing functions with decorators.

    Topics:

    • 00:00:00 – Introduction
    • 00:02:18 – Django Bugfix Release Issued: 5.1.3
    • 00:02:46 – Pillow Release 11.0.0
    • 00:03:14 – Flask Version 3.1.0
    • 00:03:30 – PyCon US 2025 (Pittsburgh) Call for Proposals
    • 00:03:46 – Python Closures: Common Use Cases and Examples
    • 00:09:20 – State of Python 3.13 Performance: Free-Threading
    • 00:15:42 – Sponsor: Windsurf
    • 00:16:32 – Opposite of Cloud Native Is…?
    • 00:22:36 – Python’s Soft Keywords
    • 00:24:50 – Video Course Spotlight
    • 00:26:11 – The Joy of Tinkering
    • 00:38:33 – shot-scraper: A command-line utility for taking automated screenshots of websites
    • 00:41:13 – django-admin-tui: Django Admin in the Terminal!
    • 00:42:37 – django-admin-dracula: Dracula Themes for the Django Admin
    • 00:44:21 – Thanks and goodbye
    • News:

      • Django Bugfix Release Issued: 5.1.3
      • Pillow Release 11.0.0
      • Flask Version 3.1.0
      • PyCon US 2025 (Pittsburgh) Call for Proposals
      • Show Links:

        • Python Closures: Common Use Cases and Examples – In this tutorial, you’ll learn about Python closures. A closure is a function-like object with an extended scope. You can use closures to create decorators, factory functions, stateful functions, and more.
        • State of Python 3.13 Performance: Free-Threading – This article does a comparison between code in single threaded, threaded, and multi-process versions under Python 3.12, 3.13, and 3.13 free-threaded with the GIL on and off.
        • Opposite of Cloud Native Is…? – Michael (from Talk Python fame) introduces the concept of “stack-native” as the opposite of “cloud-native”, and how it applies to Python web apps. Building applications with just enough full-stack building blocks to run reliably with minimal complexity, rather than relying on a multitude of cloud services.
        • Python’s soft keywords – Python includes soft keywords: tokens that are important to the parser but can also be used as variable names. This article shows you what a soft keyword is and how to find them in Python 3.12 (both the easy and hard way).
        • Discussion:

          • Habits of Great Software Engineers - The Joy of Tinkering
          • Projects:

            • shot-scraper: A command-line utility for taking automated screenshots of websites
            • django-admin-tui: Django admin in the terminal!
            • django-admin-dracula: 🦇 Dracula themes for the Django admin
            • Additional Projects:

              • Primer on Python Decorators – Real Python
              • We’ve moved to Hetzner - Talk Python Blog
              • Talk Python rewritten in Quart (async Flask) - Talk Python Blog
              • PyCoder’s Weekly - Have a Project You Want to Share? - Submit a Link
              • Level up your Python skills with our expert-led courses:

                • Python Decorators 101
                • Python Inner Functions
                • Defining and Calling Python Functions
                • Support the podcast & join our community of Pythonistas

                  46 min
                • Maintaining the Foundations of Python & Cautionary Tales

                  How do you build a sustainable open-source project and community? What lessons can be learned from Python’s history and the current mess that the WordPress community is going through? This week on the show, we speak with Paul Everitt from JetBrains about navigating open-source funding and the start of the Python Software Foundation.

                  Paul has been an organizer in the Python community almost from the beginning. He shares how the project has navigated through multiple sponsors. We talk about the early governance models and the formation of the Python Software Foundation.

                  We contrast this journey with the current drama unfolding in the WordPress community. We discuss the potential problems of having a benevolent dictator for life. We also dig into sponsorship models and ways to get companies to give back to the open-source projects they rely on.

                  This episode is sponsored by Sentry.

                  Course Spotlight: Using pandas to Make a Gradebook in Python

                  With this course and Python project, you’ll build a script to calculate grades for a class using pandas. The script will quickly and accurately calculate grades from a variety of data sources. You’ll see examples of loading, merging, and saving data with pandas, as well as plotting some summary statistics.

                  Topics:

                  • 00:00:00 – Introduction
                  • 00:01:55 – Meeting Jodie Burchell at PyCon 2022
                  • 00:02:51 – A non-traditional path into open-source
                  • 00:07:09 – The current turmoil around WordPress
                  • 00:13:49 – Keeping things fair in the age of extraction
                  • 00:16:03 – Sponsor: Sentry
                  • 00:17:07 – Early Python organizing history and conservation
                  • 00:20:41 – The Python Software Activity precursor to PSF
                  • 00:24:14 – Creating the Python Software Foundation
                  • 00:27:24 – Keeping the perfect distance of business and project
                  • 00:28:13 – Who gets to capture the value from open-source?
                  • 00:31:07 – Sponsorships becoming more common
                  • 00:33:24 – BDFL to a steering council
                  • 00:34:58 – Video Course Spotlight
                  • 00:36:16 – What is Plone?
                  • 00:38:11 – Starting in Python and finding community
                  • 00:50:07 – Companies contributing
                  • 00:53:16 – Examples of how JetBrains contributes back
                  • 00:55:41 – Understanding the support system
                  • 00:58:09 – Talking to decision makers
                  • 01:00:07 – Python 1994 talk and continuation
                  • 01:01:49 – What are you excited about in the world of Python?
                  • 01:03:06 – What do you want to learn next?
                  • 01:04:17 – How can people follow your work online?
                  • 01:07:16 – Thanks and goodbye
                  • Show Links:

                    • JetBrains: Essential tools for software developers and teams
                    • PyCharm: the Python IDE for data science and web development
                    • PyCon - Join us at PyCon
                    • Benevolent dictator for life - Wikipedia
                    • The messy WordPress drama, explained - The Verge
                    • WordPress.org’s latest move involves taking control of a WP Engine plugin - The Verge
                    • WP Engine asks court to stop Matt Mullenweg from blocking access to WordPress resources - The Verge
                    • Podcast: Why the WordPress Chaos Matters - 404 Media
                    • Zope - Wikipedia
                    • Python Software Foundation
                    • PyLadies – Women Who Love Coding in Python
                    • Django Software Foundation - Django
                    • OpenCV - About Page
                    • Plone Foundation
                    • FastHTML - Modern web applications in pure Python
                    • Paul Everitt - Python 1994 - YouTube
                    • A Team at Microsoft is Helping Make Python Faster - Python
                    • Velda Kiara
                    • JetBrains Blog: The Drive to Develop
                    • Paul Everitt (@[email protected]) - Fosstodon
                    • Guido van Rossum - Wikipedia
                    • The History of Python: Personal History - part 1, CWI
                    • Oral History of Guido van Rossum, part 1 - YouTube
                    • Level up your Python skills with our expert-led courses:

                      • Using pandas to Make a Gradebook in Python
                      • The pandas DataFrame: Working With Data Efficiently
                      • Building Python Project Documentation With MkDocs
                      • Support the podcast & join our community of Pythonistas

                        1 hr 10 min
                      • New PEPs: Template Strings & External Wheel Hosting

                        Have you wanted the flexibility of f-strings but need safety checks in place? What if you could have deferred evaluation for logging or avoiding injection attacks? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder’s Weekly articles and projects.

                        We discuss a set of recent Python Enhancement Proposals (PEPs). The idea of template strings has been under consideration for a while, and PEP 750 describes a new way forward. PEP 759 proposes a way for projects on PyPI to safely host resources on external sites using a new package upload format called a .rim file.

                        We share several other articles and projects from the Python community, including what didn’t make the headlines about Python 3.13, solving Sudoku with Python packaging, what’s sweet about Python’s syntactic sugar, creating database-generated columns using SQLite and Django, a discussion about mentoring, an adaptive web scraper, and a debugging tool for HTTP(S) client requests.

                        This episode is sponsored by Sentry.

                        Course Spotlight: Using Pydantic to Simplify Python Data Validation

                        Discover the power of Pydantic, Python’s most popular data parsing, validation, and serialization library. In this hands-on video course, you’ll learn how to make your code more robust, trustworthy, and easier to debug with Pydantic.

                        Topics:

                        • 00:00:00 – Introduction
                        • 00:02:08 – Python 3.14.0 Alpha 1 Released
                        • 00:02:38 – Python 3.13, What Didn’t Make the Headlines
                        • 00:05:23 – What’s up Python? 3.13 is out, t-strings look awesome
                        • 00:10:21 – Sponsor: Sentry
                        • 00:11:25 – Sudoku in Python Packaging
                        • 00:14:29 – Syntactic Sugar: Why Python Is Sweet and Pythonic
                        • 00:22:31 – Database generated columns: Django & SQLite
                        • 00:27:14 – Video Course Spotlight
                        • 00:28:39 – Mentors
                        • 00:42:23 – Scrapling: Lightning-Fast, Adaptive Web Scraping for Python
                        • 00:44:14 – httpdbg: A tool for Python developers to easily debug the HTTP(S) client requests
                        • 00:46:04 – Request for project submissions to PyCoders
                        • 00:46:59 – Thanks and goodbye
                        • News:

                          • Python 3.14.0 Alpha 1 Released
                          • Show Links:

                            • Python 3.13, What Didn’t Make the Headlines – Bite Code summarizes some of the lesser covered changes to Python in the 3.13 release, including how some of the REPL improvements made it into pdb, improvements to shutil, and small additions to the asyncio library.
                            • What’s up Python? 3.13 is out, t-strings look awesome, dep groups come in handy…
                            • Sudoku in Python Packaging – Simon writes about a Sudoku solver written by Konstin that uses the Python packaging mechanisms to do Sudoku puzzles. The results are output using a requirements.txt file, where sudoku-0-3==5 represents the (0,3) cell’s answer of 5.
                            • Syntactic Sugar: Why Python Is Sweet and Pythonic – In this tutorial, you’ll learn what syntactic sugar is and how Python uses it to help you create more readable, descriptive, clean, and Pythonic code. You’ll also learn how to replace a given piece of syntactic sugar with another syntax construct.
                            • Database generated columns: Django & SQLite – An introduction to database generated columns, using SQLite and the new GeneratedField added in Django 5.0
                            • Discussion:

                              • Mentors – Ryan just finished his second round of mentoring with the Djangonaut.Space program. This post talks about how you can help your mentor help you and how to be a good mentor.
                              • Projects:

                                • Scrapling: Lightning-Fast, Adaptive Web Scraping for Python
                                • httpdbg: A tool for Python developers to easily debug the HTTP(S) client requests in a Python program
                                • Additional Links:

                                  • PEP 750 – Template Strings
                                  • PEP 735 – Dependency Groups in pyproject.toml
                                  • PEP 759 – External Wheel Hosting
                                  • Episode #47: Unraveling Python’s Syntax to Its Core With Brett Cannon – The Real Python Podcast
                                  • Episode #92: Continuing to Unravel Python’s Syntactic Sugar With Brett Cannon – The Real Python Podcast
                                  • Episode #4: Learning Python Through Errors – The Real Python Podcast
                                  • PyCoder’s Weekly - Have a Project You Want to Share? - Submit a Link
                                  • Level up your Python skills with our expert-led courses:

                                    • Python Type Checking
                                    • Using Pydantic to Simplify Python Data Validation
                                    • Using Type Hints for Multiple Return Types in Python
                                    • Support the podcast & join our community of Pythonistas

                                      48 min
                                    • PySheets: Spreadsheets in the Browser Using PyScript

                                      What goes into building a spreadsheet application in Python that runs in the browser? How do you make it launch quickly, and where do you store the cells of data? This week on the show, we speak with Chris Laffra about his project, PySheets, and his book “Communication for Engineers.”

                                      As a software engineer, Chris has worked at IBM, Google, Uber, and several financial institutions. He speaks about developer productivity and communication skills as an engineer. We begin our conversation by digging into his background, his approach to building engineering teams, and strategies for improving communication.

                                      Chris’ idea for PySheets is to have Excel inside Python with everything running locally in your browser. He was inspired by the success of Jupyter Notebooks but wanted to develop a tool more suited to a spreadsheet’s non-linear graph structure.

                                      PySheets is built to run locally in the user’s browser, taking advantage of PyScript. We discuss finding the right solution for storing data in the browser and developing a graphic toolkit to create the UI. Chris also shares the novel method he found to get the interface up and running while the larger assets are loading.

                                      This episode is sponsored by Sentry.

                                      Course Spotlight: Understanding Python’s Global Interpreter Lock (GIL)

                                      Python’s Global Interpreter Lock, or GIL, is a mutex (or a lock) that allows only one thread to hold the control of the Python interpreter at any one time. In this video course, you’ll learn how the GIL affects the performance of your Python programs.

                                      Topics:

                                      • 00:00:00 – Introduction
                                      • 00:02:25 – Background with building engineering teams
                                      • 00:08:43 – Communication for Engineers book
                                      • 00:16:17 – What do customers want and experiences at IBM
                                      • 00:24:28 – Starting the development of PySheets
                                      • 00:27:19 – Working with the DOM
                                      • 00:29:41 – Success of Jupyter notebooks
                                      • 00:35:46 – Sponsor: Sentry
                                      • 00:36:52 – Little Toolkit for PyScript
                                      • 00:43:24 – Finding funding
                                      • 00:46:58 – Building a product before selling
                                      • 00:52:27 – Video Course Spotlight
                                      • 00:53:46 – Finding the right data storage in IndexedDB
                                      • 01:01:57 – Exploring the trial page and extensibility
                                      • 01:08:26 – Contributing to the project or forking
                                      • 01:11:56 – What are you excited about in the world of Python?
                                      • 01:16:20 – What do you want to learn next?
                                      • 01:17:25 – How can people follow your work online?
                                      • 01:18:05 – Thanks and goodbye
                                      • Show Links:

                                        • Chris Laffra
                                        • C4E - Communication for Engineers (ePUB)
                                        • PySheets - Spreadsheet UI for Python
                                        • PySheets: Source for PySheets
                                        • PyScript - Python in the browser - Chris Laffra - YouTube
                                        • Python in Excel - Microsoft 365
                                        • pyscript/ltk: LTK is a little toolkit for writing UIs in PyScript
                                        • LTK - Little Toolkit
                                        • PROCOL: a parallel object language with protocols - ACM SIGPLAN
                                        • IndexedDB API - MDN
                                        • First steps - PyScript
                                        • Pyodide — Version 0.26.3
                                        • PyScript Updates: Bytecode Alliance, Pyodide, and MicroPython
                                        • MicroPython - Python for microcontrollers
                                        • FreeCAD: Your own 3D parametric modeler
                                        • Chris Laffra - How to become a Happy and Productive Engineer - YouTube
                                        • Level up your Python skills with our expert-led courses:

                                          • Python Plotting With Matplotlib
                                          • Understanding Python's Global Interpreter Lock (GIL)
                                          • What's New in Python 3.13
                                          • Support the podcast & join our community of Pythonistas

                                            1 hr 20 min
                                          • Python Getting Faster and Leaner & Ideas for Django Projects

                                            What changes are happening under the hood in the latest versions of Python? How are these updates laying the groundwork for a faster Python in the coming years? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder’s Weekly articles and projects.

                                            Christopher shares an article about Python’s recent performance improvements. The piece covers the specialized adaptive interpreter and explains what those terms mean. It also includes details about the experimental feature of the Just-In-Time (JIT) compiler added in 3.13.

                                            We dig into a collection of Django projects you can use to practice and develop your skills. The projects ramp up from detailed beginner tutorials to more advanced projects with guidelines on how to get started. We also discuss a collection of popular websites that use Django.

                                            We share several other articles and projects from the Python community, including a batch of recent Python Enhancement Protocols (PEPs), a couple of Python releases, using DuckDB in the browser with Pyodide, building a contact book app with Textual, generating a tiny status page with a Python script, and a grep-like tool that understands code.

                                            This episode is sponsored by AssemblyAI.

                                            Course Spotlight: Building a Site Connectivity Checker

                                            In this video course, you’ll build a Python site connectivity checker for the command line. While building this app, you’ll integrate knowledge related to making HTTP requests with standard-library tools, creating command-line interfaces, and managing concurrency with asyncio and aiohttp.

                                            Topics:

                                            • 00:00:00 – Introduction
                                            • 00:03:11 – PEP 777: How to Re-Invent the Wheel
                                            • 00:04:22 – PEP 758: Allow except and except* Expressions Without Parentheses
                                            • 00:04:51 – PEP 760: No More Bare Excepts (Withdrawn)
                                            • 00:05:42 – PEP 735: Dependency Groups in pyproject.toml
                                            • 00:06:29 – PEP 761: Deprecating PGP Signatures for CPython Artifacts
                                            • 00:06:59 – Python 3.12.7 Released
                                            • 00:07:12 – Incremental GC and Pushing Back the 3.13.0 Release
                                            • 00:09:10 – DuckDB in the Browser With Pyodide
                                            • 00:15:35 – Sponsor: AssemblyAI
                                            • 00:16:18 – Build a Contact Book App With Python, Textual, and SQLite
                                            • 00:21:55 – Django Project Ideas
                                            • 00:28:42 – Video Course Spotlight
                                            • 00:30:00 – In the Making of Python Fitter and Faster
                                            • 00:35:13 – tinystatus: Tiny Status Page Generated by a Python Script
                                            • 00:38:06 – srgn: Grep-Like Tool That Understands Code
                                            • 00:42:01 – Thanks and goodbye
                                            • News:

                                              • PEP 777: How to Re-Invent the Wheel – “The current wheel 1.0 specification was written over a decade ago, and has been extremely robust to changes in the Python packaging ecosystem… this PEP prescribes compatibility requirements on future wheel revisions.”
                                              • PEP 758: Allow except and except* Expressions Without Parentheses – “This PEP proposes to allow unparenthesized except and except* blocks in Python’s exception handling syntax. Currently, when catching multiple exceptions, parentheses are required around the exception types.”
                                              • PEP 760: No More Bare Excepts (Withdrawn)
                                              • PEP 735: Dependency Groups in pyproject.toml (Accepted)
                                              • PEP 761: Deprecating PGP Signatures for CPython Artifacts – Since Python 3.11.0, CPython has provided two verifiable digital signatures for all CPython artifacts: PGP and sigstore. This PEP proposes moving to sigstore as the only way of signing artifacts.
                                              • Python 3.12.7 Released
                                              • Python 3.13.0 Released
                                              • Incremental GC and Pushing Back the 3.13.0 Release – Some last minute performance considerations delayed the release of Python 3.13 with one of the features being backed out.
                                              • Show Links:

                                                • DuckDB in the Browser With Pyodide – Learn how to run DuckDB in an in-browser Python environment to enable simple querying on remote files, interactive documentation, and easy to use training materials.
                                                • Build a Contact Book App With Python, Textual, and SQLite – In this tutorial, you’ll be guided step by step through the process of building a basic contact book application. You’ll use Python and Textual to build the application’s text-based user interface (TUI), and then use SQLite to manage the database.
                                                • Django Project Ideas – Looking to experiment or build your portfolio? Discover creative Django project ideas for all skill levels, from beginner apps to advanced full-stack projects.
                                                • In the Making of Python Fitter and Faster – This post details how Python’s recent performance improvements work under the hood. It covers changes to the interpreter, better memory management, and the newly experimental JIT compiler.
                                                • Projects:

                                                  • tinystatus: Tiny Status Page Generated by a Python Script
                                                  • srgn: Grep-Like Tool That Understands Code
                                                  • Additional Links:

                                                    • What Are Python Wheels and Why Should You Care? – Real Python
                                                    • Deploy your first JupyterLite website on GitHub Pages — JupyterLite 0.4.3 documentation
                                                    • rich: Python library for rich text and beautiful formatting in the terminal
                                                    • The 10 Most Popular Websites Using Django
                                                    • Django in Action
                                                    • Django and htmx Tutorial: Easier Web Development - YouTube
                                                    • Build a Site Connectivity Checker in Python – Real Python
                                                    • Refactoring Python with 🌳 Tree-sitter & Jedi | Jack’s blog
                                                    • Level up your Python skills with our expert-led courses:

                                                      • How to Set Up a Django Project
                                                      • Building a Site Connectivity Checker
                                                      • Building Command Line Interfaces With argparse
                                                      • Support the podcast & join our community of Pythonistas

                                                        44 min
                                                      • Narwhals: Expanding DataFrame Compatibility Between Libraries

                                                        How does a Python tool support all types of DataFrames and their various features? Could a lightweight library be used to add compatibility for newer formats like Polars or PyArrow? This week on the show, we speak with Marco Gorelli about his project, Narwhals.

                                                        Narwhals is a project aimed at library maintainers rather than end users. We discuss how the added compatibility benefits users by supporting modern features like lazy evaluation. We cover several projects Marco has been working with to implement Narwhals, including Altair, scikit-lego, and Ibis.

                                                        We also discuss how Marco started contributing to open-source projects. Marco has contributed to both pandas and Polars, which helps explain his interest in growing compatibility between libraries. He also offers advice on making your first contribution.

                                                        This episode is sponsored by CodeRabbit.

                                                        Course Spotlight: Differences Between Python’s Mutable and Immutable Types

                                                        In this video course, you’ll learn how Python’s mutable and immutable data types work internally and how you can take advantage of mutability or immutability to power your code.

                                                        Topics:

                                                        • 00:00:00 – Introduction
                                                        • 00:02:02 – Euro SciPy 2024 and sprints
                                                        • 00:04:04 – How did you get involved in open source?
                                                        • 00:07:18 – Finding a good issue to get started
                                                        • 00:09:25 – Discord and open-source projects
                                                        • 00:11:12 – Who would you describe Narwhals?
                                                        • 00:16:47 – Working on Polars
                                                        • 00:19:17 – Apache Arrow and a data interchange protocol
                                                        • 00:22:55 – Sponsor: CodeRabbit
                                                        • 00:23:55 – Digging into eager vs lazy
                                                        • 00:27:04 – Ibis DataFrame library
                                                        • 00:28:57 – What do libraries need from Narwhals?
                                                        • 00:34:57 – The scikit-lego library
                                                        • 00:37:15 – Video Course Spotlight
                                                        • 00:38:45 – Other libraries interested in Narwhals
                                                        • 00:41:56 – Compatibility policy
                                                        • 00:45:18 – What should an end user expect?
                                                        • 00:46:32 – Have other projects that attempted this?
                                                        • 00:47:54 – Keeping the project light and pure Python
                                                        • 00:49:32 – Contributors and how to get involved
                                                        • 00:54:42 – What are you excited about in the world of Python?
                                                        • 00:57:18 – What do you want to learn next?
                                                        • 00:59:05 – How can people follow your work online?
                                                        • 00:59:27 – Thanks and goodbye
                                                        • Show Links:

                                                          • Narwhals
                                                          • EuroSciPy
                                                          • narwhals: Lightweight and Extensible Compatibility Layer Between DataFrame Libraries! - GitHub
                                                          • DataFrame Interoperability - What’s Been Achieved, and What Comes Next? - PyCon Lithuania - YouTube
                                                          • How Narwhals Has Many End Users … That Never Use It Directly - YouTube
                                                          • Polars Has a New Lightweight Plotting Backend - Altair
                                                          • pandas - Python Data Analysis Library
                                                          • Polars — DataFrames for the new era
                                                          • great-tables - PyPI
                                                          • Episode #214: Build Captivating Display Tables in Python With Great Tables
                                                          • Ibis
                                                          • Episode #201: Decoupling Systems to Get Closer to the Data
                                                          • Great Tables is Now BYODF (Bring Your Own DataFrame)
                                                          • How Narwhals and scikit-lego Came Together to Achieve DataFrame-Agnosticism
                                                          • Explore Using Narwhals in Plotly Express · Issue #4749 - GitHub
                                                          • Fairlearn
                                                          • Perfect Backwards Compatibility Policy - Narwhals
                                                          • uv: Unified Python packaging
                                                          • pixi - Powerful Development Environments
                                                          • Narwhals - Discord
                                                          • marcogorelli (@[email protected]) - Fosstodon
                                                          • Marco Gorelli - Quansight - LinkedIn
                                                          • Level up your Python skills with our expert-led courses:

                                                            • The pandas DataFrame: Working With Data Efficiently
                                                            • pandas GroupBy: Grouping Real World Data in Python
                                                            • What's New in Python 3.13
                                                            • Support the podcast & join our community of Pythonistas

                                                              1 hr 1 min
                                                            • Exploring the New Features of Python 3.13

                                                              Python 3.13 is here! Our regular guests, Geir Arne Hjelle and Christopher Trudeau, return to discuss the new version. This year, Geir Arne coordinated a series of preview articles with members of the Real Python team and a showcase tutorial, “Python 3.13: Cool New Features for You to Try.” Christopher’s video course “What’s New in Python 3.13” covers the topics from the article and shows the new features in action.

                                                              Geir Arne and Christopher dug into the release to create code examples of the new features for the tutorial and course. We look at the options for disabling the Global Interpreter Lock (GIL) and enabling the Just-in-Time (JIT) compiler. We also discuss the new interactive interpreter, better error messages, multiple improvements to static typing, and additional 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.13.

                                                              This is episode is sponsored by Nvidia.

                                                              Course Spotlight: What’s New in Python 3.13

                                                              In this video course, you’ll learn about the new features in Python 3.13. You’ll take a tour of the new REPL and error messages and see how you can try out the experimental free threading and JIT versions of Python 3.13 yourself.

                                                              Topics:

                                                              • 00:00:00 – Introduction
                                                              • 00:03:14 – A Modern REPL
                                                              • 00:08:54 – Making the Global Interpreter Lock Optional in CPython
                                                              • 00:11:33 – JIT Compilation
                                                              • 00:15:48 – More improved error messages
                                                              • 00:18:30 – Sponsor: NVIDIA
                                                              • 00:19:13 – Marking deprecations using the type system
                                                              • 00:21:09 – Type Defaults for Type Parameters
                                                              • 00:22:44 – Narrowing types with TypeIs
                                                              • 00:25:24 – TypedDict: Read-only items
                                                              • 00:27:50 – Random command line interface
                                                              • 00:29:54 – New copy.replace()
                                                              • 00:33:43 – Video Course Spotlight
                                                              • 00:34:55 – Pathlib and globbing
                                                              • 00:39:33 – Stripping docstrings
                                                              • 00:41:28 – Import improvements
                                                              • 00:41:56 – Dynamically import non-code files
                                                              • 00:42:23 – Adding iOS as a supported platform
                                                              • 00:43:32 – More consistency with local namespace
                                                              • 00:44:30 – Support for deprecation in argparse
                                                              • 00:45:00 – Better entry points for breakpoint or set_trace
                                                              • 00:46:08 – Removing dead batteries
                                                              • 00:47:43 – When to upgrade to 3.13?
                                                              • 00:53:19 – core.py podcast
                                                              • 00:54:14 – Thanks and goodbye
                                                              • Show Links:

                                                                • Python 3.13: Cool New Features for You to Try
                                                                • What’s New in Python 3.13
                                                                • Python 3.13 Preview: A Modern REPL
                                                                • Python 3.13 Preview: Free Threading and a JIT Compiler
                                                                • What’s New In Python 3.13 — Python 3.13.0rc2 documentation
                                                                • PEP 703 – Making the Global Interpreter Lock Optional in CPython
                                                                • PEP 744 – JIT Compilation
                                                                • PEP 702 – Marking deprecations using the type system
                                                                • PEP 696 – Type Defaults for Type Parameters
                                                                • PEP 742 – Narrowing types with TypeIs
                                                                • PEP 705 – TypedDict: Read-only items
                                                                • PEP 730 – Adding iOS as a supported platform
                                                                • PEP 738 – Adding Android as a supported platform
                                                                • PEP 667 – Consistent views of namespaces
                                                                • PEP 594 – Removing dead batteries from the standard library
                                                                • The Python Standard REPL: Try Out Code and Ideas Quickly
                                                                • Unlock IPython’s Magical Toolbox for Your Coding Journey
                                                                • core.py Podcast - Episode 14: Integration Events
                                                                • Level up your Python skills with our expert-led courses:

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

                                                                    56 min
                                                                  • Using Virtual Environments in Docker & Comparing Python Dev Tools

                                                                    Should you use a Python virtual environment in a Docker container? What are the advantages of using the same development practices locally and inside a container? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder’s Weekly articles and projects.

                                                                    We share a recent post by Hynek Schlawack about building Python projects using Docker containers. Hynek argues for using virtual environments for these projects, like developing a local one. He’s found that keeping your code in an isolated, well-defined location and structure avoids confusion and complexity.

                                                                    We also discuss our development setups, including Python versions, code editors, virtual environment practices, terminals, and customizations. We dig into how your programming history affects the tools you use.

                                                                    We share several other articles and projects from the Python community, including a group of new releases, addressing the “why” in comments, comparing a data science workflow in Python and R, removing common problems from CSV files, and a project for creating HTML tables in Django.

                                                                    This episode is sponsored by InfluxData.

                                                                    Course Spotlight: Advanced Python import Techniques

                                                                    The Python import system is as powerful as it is useful. In this in-depth video course, you’ll learn how to harness this power to improve the structure and maintainability of your code.

                                                                    Topics:

                                                                    • 00:00:00 – Introduction
                                                                    • 00:02:55 – Python Releases 3.12.6, 3.11.10, 3.10.15, 3.9.20, and 3.8.20
                                                                    • 00:03:26 – Python Release Python 3.13.0rc2
                                                                    • 00:04:07 – Django Security Releases Issued: 5.1.1, 5.0.9, and 4.2.16
                                                                    • 00:04:36 – Polars Has a New Lightweight Plotting Backend
                                                                    • 00:05:49 – Why I Still Use Python Virtual Environments in Docker
                                                                    • 00:11:37 – How to Use Conditional Expressions With NumPy where()
                                                                    • 00:15:55 – Sponsor: InfluxData
                                                                    • 00:16:39 – PythonistR: A Match Made in Data Heaven
                                                                    • 00:23:44 – Why Not Comments
                                                                    • 00:26:48 – Video Course Spotlight
                                                                    • 00:28:10 – Discussion: Personal development setups
                                                                    • 00:51:01 – csv_trimming: Remove Common Ugliness From CSV Files
                                                                    • 00:53:01 – django-tables2: Create HTML Tables in Django
                                                                    • 00:54:39 – Thanks and goodbye
                                                                    • News:

                                                                      • Python Releases 3.12.6, 3.11.10, 3.10.15, 3.9.20, and 3.8.20
                                                                      • Python Release Python 3.13.0rc2
                                                                      • Django Security Releases Issued: 5.1.1, 5.0.9, and 4.2.16
                                                                      • Show Links:

                                                                        • Polars Has a New Lightweight Plotting Backend – Polars 1.6 allows you to natively create beautiful plots without pandas, NumPy, or PyArrow. This is enabled by Narwhals, a lightweight compatibility layer between dataframe libraries.
                                                                        • Why I Still Use Python Virtual Environments in Docker – Hynek often gets challenged when he suggests the use of virtual environments within Docker containers, and this post explains why he still does.
                                                                        • How to Use Conditional Expressions With NumPy where() – This tutorial teaches you how to use the where() function to select elements from your NumPy arrays based on a condition. You’ll learn how to perform various operations on those elements and even replace them with elements from a separate array or arrays.
                                                                        • PythonistR: A Match Made in Data Heaven – In data science you’ll sometimes hear a debate between R and Python. Cosima says ‘why not choose both?’ She outlines a data pipeline that uses the best tool for each job.
                                                                        • Why Not Comments – This post talks about why you might want to include information in your code comments about why you didn’t take a particular approach.
                                                                        • Discussion:

                                                                          • Editors & IDEs – Real Python
                                                                          • Visual Studio Code - Code Editing. Redefined
                                                                          • Project Jupyter - Home
                                                                          • vim online: welcome home
                                                                          • iTerm2 - macOS Terminal Replacement
                                                                          • Projects:

                                                                            • csv_trimming: Remove Common Ugliness From CSV Files
                                                                            • django-tables2: Create HTML Tables in Django
                                                                            • Additional Links:

                                                                              • virtualenv Lives! - Hynek Schlawack - 2014
                                                                              • Production-ready Python Docker Containers with uv - Hynek Schlawack
                                                                              • r-python-talk: 🦸🏼‍♀️ Contains material for talk on how to use Python and R together
                                                                              • Download RStudio - Posit
                                                                              • Logic for Programmers by Hillel Wayne - Leanpub
                                                                              • Level up your Python skills with our expert-led courses:

                                                                                • Using Jupyter Notebooks
                                                                                • Absolute vs Relative Imports in Python
                                                                                • Advanced Python import Techniques
                                                                                • Support the podcast & join our community of Pythonistas

                                                                                  56 min
                                                                                • Thriving as a Developer With ADHD

                                                                                  What are strategies for being a productive developer with ADHD? How can you help your team members with ADHD to succeed and complete projects? This week on the show, we speak with Chris Ferdinandi about his website and podcast “ADHD For the Win!”

                                                                                  Chris struggled with productivity early in his career as a developer. He shares systems and strategies he’s discovered to harness the focusing power of ADHD.

                                                                                  We discuss time management, meetings, and maintaining productivity in a hectic world. Chris also shares resources for learning more about defining ADHD, self-evaluation, and how to keep getting things done.

                                                                                  This episode is sponsored by InfluxData.

                                                                                  Course Spotlight: Build a GUI Calculator With PyQt and Python

                                                                                  In this video course, you’ll learn how to create graphical user interface (GUI) applications with Python and PyQt. Once you’ve covered the basics, you’ll build a fully functional desktop calculator that can respond to user events with concrete actions.

                                                                                  Topics:

                                                                                  • 00:00:00 – Introduction
                                                                                  • 00:02:30 – Defining ADHD and how it aligns with coding
                                                                                  • 00:05:47 – Analogy for focus
                                                                                  • 00:06:51 – Can you sense the change in focus?
                                                                                  • 00:07:46 – The challenge of meetings
                                                                                  • 00:11:45 – Tips for managing time
                                                                                  • 00:15:44 – Capturing notes and defragging
                                                                                  • 00:18:48 – Sponsor: InfluxData
                                                                                  • 00:19:33 – Downtime and interruptions
                                                                                  • 00:25:26 – Remote work and focus
                                                                                  • 00:33:16 – Sitting still and meetings
                                                                                  • 00:37:39 – Video Course Spotlight
                                                                                  • 00:39:13 – Anything worth doing is worth doing poorly
                                                                                  • 00:47:36 – Prototypes and working on interesting things
                                                                                  • 00:50:26 – Deadlines and pomodoro timers
                                                                                  • 00:54:21 – Have your symptoms changed over time?
                                                                                  • 00:56:18 – Starting ADHDftw.com
                                                                                  • 00:59:12 – Decision to keep podcast episodes short
                                                                                  • 01:00:01 – Deciding on medication
                                                                                  • 01:02:02 – Resources available
                                                                                  • 01:03:29 – What motivates you to continue to learn programming?
                                                                                  • 01:04:06 – What do you want to learn next?
                                                                                  • 01:04:55 – What are other ways to follow your work online?
                                                                                  • 01:05:28 – Thanks and goodbye
                                                                                  • Show Links:

                                                                                    • ADHD ftw! - Resources
                                                                                    • ADHD isn’t a deficit of attention (and doesn’t necessarily mean you’re hyperactive)
                                                                                    • Do I have ADHD?
                                                                                    • Snoot - Wikipedia
                                                                                    • Anything worth doing is worth doing poorly
                                                                                    • Getting stuff done with ADHD: defrag your notebook - ADHD ftw!
                                                                                    • Go Make Things - About
                                                                                    • Chris Ferdinandi ⚓️ (@[email protected]) - Fosstodon
                                                                                    • Level up your Python skills with our expert-led courses:

                                                                                      • Creating PyQt Layouts for GUI Applications
                                                                                      • HTML and CSS Foundations for Python Developers
                                                                                      • Build a GUI Calculator With PyQt and Python
                                                                                      • Support the podcast & join our community of Pythonistas

                                                                                        1 hr 7 min
                                                                                      • Configuring Git Pre-Commit Hooks & Estimating Software Projects

                                                                                        How do you take advantage of Git pre-commit hooks? How do you build custom software checks and rules that run every time you commit your code? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder’s Weekly articles and projects.

                                                                                        We share a trio of articles by previous guest Stefanie Molin about Git pre-commit hooks. Across the series, she provides step-by-step instructions for building your own hooks, managing them, and learning how they operate.

                                                                                        We discuss the process of estimating software development projects. We dig into the art of “guesstimation,” rough calculation, and napkin math. Christopher shares his experience in agile scenarios and measuring projects by story counts.

                                                                                        We share several other articles and projects from the Python community, including a news roundup, 10 Python programming optimization techniques, and building a blog in Django using GraphQL & Vue. We also explore experimenting with Python’s preprocessor, a toolkit for writing UIs in PyScript, and a couple of projects for working with Django Admin.

                                                                                        This episode is sponsored by InfluxData.

                                                                                        Course Spotlight: Python mmap: Doing File I/O With Memory Mapping

                                                                                        In this video course, you’ll learn how to use Python’s mmap module to improve your code’s performance when you’re working with files. You’ll get a quick overview of the different types of memory before diving into how and why memory mapping with mmap can make your file I/O operations faster.

                                                                                        Topics:

                                                                                        • 00:00:00 – Introduction
                                                                                        • 00:02:28 – Python Top Language of 2024
                                                                                        • 00:02:59 – Python Developers Survey 2023 Results
                                                                                        • 00:03:46 – How Pre-Commit Works
                                                                                        • 00:10:00 – Build a Blog Using Django, GraphQL, and Vue
                                                                                        • 00:13:38 – Sponsor: InfluxData
                                                                                        • 00:14:23 – 10 Python Programming Optimization Techniques
                                                                                        • 00:22:45 – Python’s Preprocessor
                                                                                        • 00:26:42 – Video Course Spotlight
                                                                                        • 00:28:16 – You don’t have to guess to estimate
                                                                                        • 00:44:18 – LTK is a little toolkit for writing UIs in PyScript
                                                                                        • 00:49:06 – django-admin-action-forms: Forms for Django Admin
                                                                                        • 00:52:09 – django-public-admin: A Public and Read-Only Django Admin
                                                                                        • 00:53:24 – Thanks and goodbye
                                                                                        • News:

                                                                                          • Python Top Language of 2024 – “Python continues to cement its overall dominance, buoyed by things like popular libraries for hot fields such as A.I.” Read the article to see where other languages have placed.
                                                                                          • Python Developers Survey 2023 Results – Official Python Developers Survey 2023 Results by Python Software Foundation and JetBrains: more than 25k responses from almost 200 countries.
                                                                                          • Show Links:

                                                                                            • How Pre-Commit Works – As a user of pre-commit hooks, do you know what happens when you run pre-commit install or why you have to run it in the first place? How does pre-commit actually work with Git? In this article, Stefanie takes you behind the scenes of how your pre-commit setup works.
                                                                                            • How to Set Up Pre-Commit Hooks - Stefanie Molin
                                                                                            • How to Create a Pre-Commit Hook - Stefanie Molin
                                                                                            • Build a Blog Using Django, GraphQL, and Vue – In this step-by-step project, you’ll build a blog from the ground up. You’ll turn your Django blog data models into a GraphQL API and consume it in a Vue application for users to read. You’ll end up with an admin site and a user-facing site you can continue to refine for your own use.
                                                                                            • 10 Python Programming Optimization Techniques – Optimization should be your last step, but once you’re there, just what can you do? This article covers ten different techniques that address memory size and code performance.
                                                                                            • Python’s Preprocessor – Every now and then you hear outrageous claims such as “Python has no preprocessor,” well it is there if you’re willing to dig deep enough. Learn how to hack Python’s compile step.
                                                                                            • Discussion

                                                                                              • You Don’t Have to Guess to Estimate
                                                                                              • Habits of Great Software Engineers
                                                                                              • Projects:

                                                                                                • pyscript/ltk: LTK Is a Little Toolkit for Writing UIs in PyScript
                                                                                                • django-admin-action-forms: Forms for Django Admin
                                                                                                • django-public-admin: A Public and Read-Only Django Admin
                                                                                                • Additional Links:

                                                                                                  • Python mmap: Doing File I/O With Memory Mapping – Real Python
                                                                                                  • Caching in Python With lru_cache – Real Python
                                                                                                  • Episode #128: Using a Memory Profiler in Python & What It Can Teach You
                                                                                                  • Episode #172: Measuring Multiple Facets of Python Performance With Scalene – The Real Python Podcast
                                                                                                  • software development - Why are estimates treated like deadlines? - Project Management Stack Exchange
                                                                                                  • Software Estimation Without Guessing: Effective Planning in an Imperfect World by George Dinwiddie
                                                                                                  • Guesstimation - Princeton University Press
                                                                                                  • Anaconda Toolbox for Excel — Anaconda documentation
                                                                                                  • Anaconda Code — Anaconda documentation
                                                                                                  • PySheets - Spreadsheet UI for Python
                                                                                                  • Level up your Python skills with our expert-led courses:

                                                                                                    • How Python Manages Memory
                                                                                                    • Python mmap: Doing File I/O With Memory Mapping
                                                                                                    • Caching in Python With lru_cache
                                                                                                    • Support the podcast & join our community of Pythonistas

                                                                                                      55 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