The Real Python Podcast

The Real Python Podcast

By Real PythonTechnology
Download on the App Store

The Real Python Podcast episodes

  • Astrophysics and Astronomy With Python & PyCon Africa 2024

    Are you interested in practicing your Python skills while learning how to solve astrophysics and astronomy problems? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder’s Weekly articles and projects.

    Christopher shares a pair of his recent Real Python video courses about exploring astronomy and astrophysics with Python. Throughout the courses, you’ll get to practice using a variety of data science libraries, such as NumPy, Matplotlib, pandas, pint, and Astropy.

    We speak with Mannie Young who is the Organizing Committee Chair of PyCon Africa. Real Python is excited to be a contributing sponsor of this year’s conference. Mannie discusses reinvigorating a continent-spanning conference after a multiyear hiatus. He also talks about introducing Python to students and new developers across Africa through PyClubs, PyLadies, and PyData programs.

    We share several other articles and projects from the Python community, including a news roundup, logging in Python, understanding operator precedence, reconciling why it only works on your machine, a fast way to create an HTML app, and a tool for deep inspection of Python objects.

    This episode is sponsored by InfluxData.

    Course Spotlight: Sorting Dictionaries in Python: Keys, Values, and More

    In this video course, you’ll learn how to sort Python dictionaries. By the end, you’ll be able to sort by key, value, or even nested attributes. But you won’t stop there, you’ll also measure the performance of variations when sorting and compare different key-value data structures.

    Topics:

    • 00:00:00 – Introduction
    • 00:03:05 – PEP 750: Tag Strings for Domain-Specific Languages
    • 00:05:19 – PEP 752: Package Repository Namespaces
    • 00:07:32 – PyCon US 2024 Recap and Recording Release
    • 00:08:01 – Logging in Python
    • 00:14:57 – It Works on My Machine. Why?
    • 00:17:33 – Python’s Operator Precedence
    • 00:20:54 – Exploring Astrophysics in Python With pandas and Matplotlib
    • 00:24:03 – Using Astropy for Astronomy With Python
    • 00:26:37 – Sponsor: InfluxData
    • 00:27:22 – fasthtml: The Fastest Way to Create an HTML App
    • 00:32:50 – wat: Deep Inspection of Python Objects
    • 00:38:08 – PyCon Africa 2024
    • 00:40:47 – What goes into re-energizing a conference?
    • 00:44:20 – Talks and speakers
    • 00:46:58 – Video Course Spotlight
    • 00:48:29 – How did you get involved?
    • 00:52:19 – PyClubs and growing Python education
    • 00:58:41 – What industries are using Python in Ghana?
    • 01:00:20 – Sponsorship and support
    • 01:01:51 – Travel in and outside the continent
    • 01:04:23 – Call to action
    • 01:05:05 – Thanks and goodbye
    • News:

      • PEP 750: Tag Strings for Domain-Specific Languages (Added)
      • PEP 752: Package Repository Namespaces (Added)
      • PyCon US 2024 Recap and Recording Release – PyCon US 2024 had a record breaking attendance with over 2,700 in-person tickets sold. This article is a recap from the conference runners and links to all the available recordings.
      • Show Links:

        • Logging in Python – If you use Python’s print() function to get information about the flow of your programs, then logging is the natural next step for you. This tutorial will guide you through creating your first logs and show you ways to curate them to grow with your projects.
        • It Works on My Machine. Why? – A list of things to check when something works on your computer but not on someone else’s.
        • Python’s Operator Precedence – Stephen uses a story-telling style to explain how operator precedence works in Python.
        • Exploring Astrophysics in Python With pandas and Matplotlib – This course uses three problems often covered in introductory astro-physics courses to play in Python. Along the way you’ll learn some astronomy and how to use a variety of datascience libraries like NumPy, Matplotlib, pandas, and pint.
        • Using Astropy for Astronomy With Python – This course covers two problems from introductory astronomy to help you play with some Python libraries. You’ll use NumPy, Matplotlib, and pandas to find planet conjunctions, and graph the best viewing times for a star.
        • Projects:

          • fasthtml: The Fastest Way to Create an HTML App
          • wat: Deep Inspection of Python Objects
          • Additional Links:

            • PyCon Africa 2024 - Home
            • Announcing PyCon Africa 2024 Blog: A Return to Accra and a Look Ahead
            • Episode #65: Expanding the International Python Community With the PSF
            • Django Girls - Start your journey with programming
            • PyLadies Ghana - Python Ghana’s Blog
            • PyData Ghana - Python Ghana’s Blog
            • PyClubs - Home
            • Quiz: Logging in Python
            • Mannie Young - LinkedIn
            • Mannie Young (@mawy_7) - X
            • Level up your Python skills with our expert-led courses:

              • Sorting Dictionaries in Python: Keys, Values, and More
              • Exploring Astrophysics in Python With pandas and Matplotlib
              • Using Astropy for Astronomy With Python
              • Support the podcast & join our community of Pythonistas

                1 hr 7 min
              • Exploring Robotics and Python Through Electronic Projects

                Are you interested in learning robotics with Python? Can physical electronics-based projects grow a child’s interest in coding? This week on the show, we speak with author Marwan Alsabbagh about his book “Build Your Own Robot - Using Python, CRICKIT, and Raspberry Pi.”

                Marwan discusses his two conferences talks about building electronics projects with his children. He provides advice on equipment and techniques to make learning Python engaging.

                We explore his robotics project and the literal balancing act of designing a robot around the Raspberry Pi. Marwan shares his successes and disappointments while working to incorporate computer vision, joystick controls, and voice commands.

                This episode is sponsored by Mailtrap.

                Course Spotlight: Python Debugging With pdb

                In this hands-on course, you’ll learn the basics of using pdb, Python’s interactive source code debugger. pdb is a great tool for tracking down hard-to-find bugs, and it allows you to fix faulty code more quickly.

                Topics:

                • 00:00:00 – Introduction
                • 00:02:14 – How did you get started with Python and electronics?
                • 00:04:27 – Snow globe intruder alert system
                • 00:06:57 – Things to keep in mind with a child
                • 00:12:50 – Challenges in teaching a child Python
                • 00:16:34 – Sponsor: Mailtrap
                • 00:17:11 – What are other projects you’ve tried?
                • 00:21:12 – Powering the robot project
                • 00:24:56 – Putting together the robot librarian talk
                • 00:29:47 – Was there any friction teaching kids robotics?
                • 00:32:47 – Adding the complexity of a Raspberry Pi
                • 00:38:27 – Video Course Spotlight
                • 00:39:48 – Hardware components of the robot
                • 00:41:51 – Thinking about access to the equipment
                • 00:45:37 – Assembling the robot project?
                • 00:49:14 – Various control systems
                • 00:54:42 – What experience level is required with Python?
                • 00:55:40 – What concepts were you excited to share?
                • 00:57:59 – Do you think Python is a good language for robotics?
                • 00:59:21 – MicroPython Cookbook
                • 01:00:07 – What are projects you tried that didn’t work out?
                • 01:03:01 – What are you excited about in the world of Python?
                • 01:04:04 – What do you want to learn next?
                • 01:04:56 – How can people follow your work online?
                • 01:05:19 – Thanks and goodbye
                • Show Links:

                  • Build Your Own Robot - Using Python, CRICKIT, and Raspberry PI
                  • Snow globe intruder alert system
                  • Snow globe intruder alert system - Marwan Alsabbagh - PyLondinium18 - YouTube
                  • Adafruit Industries, Unique & fun DIY electronics and kits
                  • Nina Zakharenko - Keynote - PyCon 2019 - YouTube
                  • Episode #86: The Legacy of OLPC and Charismatic Pitfalls in Teaching Programming
                  • Episode #161: Resources and Advice for Building CircuitPython Projects
                  • Episode #75: Building With CircuitPython & Constraints of Python for Microcontrollers
                  • MicroPython Cookbook: Marwan Alsabbagh - Amazon.com: Books
                  • WebAssembly
                  • htmx - high power tools for html
                  • Marwan Alsabbagh - personal website
                  • marwano (Marwan Alsabbagh) - GitHub
                  • Level up your Python skills with our expert-led courses:

                    • Debugging in Python With pdb
                    • Using Pygame to Build an Asteroids Game in Python
                    • Using Python's assert to Debug and Test Your Code
                    • Support the podcast & join our community of Pythonistas

                      1 hr 7 min
                    • Packaging Data Analyses & Using pandas GroupBy

                      What are the best practices for organizing data analysis projects in Python? What are the advantages of a more package-centric approach to data science? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder’s Weekly articles and projects.

                      We discuss Joshua Cook’s recent article “How I Use Python to Organize My Data Analyses.” The article covers how his process for building data analysis projects has evolved and now incorporates modern Python packaging techniques.

                      Christopher shares his recent video course on grouping real-world data with pandas. The course offers a quick refresher before digging into how to use pandas GroupBy to manipulate, transform, and summarize data.

                      We also share several other articles and projects from the Python community, including a news roundup, working with JSON data in Python, running an Asyncio event loop in a separate thread, knowing the why behind a system’s code, a retro game engine for Python, and a project for vendorizing packages from PyPI.

                      This episode is sponsored by Mailtrap.

                      Course Spotlight: pandas GroupBy: Grouping Real World Data in Python

                      In this course, you’ll learn how to work adeptly with the pandas GroupBy while mastering ways to manipulate, transform, and summarize data. You’ll work with real-world datasets and chain GroupBy methods together to get data into an output that suits your needs.

                      Topics:

                      • 00:00:00 – Introduction
                      • 00:02:18 – Setuptools Breaks Things, Then Fixes Them
                      • 00:04:57 – PEP 751: A File Format to List Python Dependencies
                      • 00:07:04 – Python 3.13.0 Release Candidate 1 Released
                      • 00:07:15 – Python Insider: Python 3.12.5 released
                      • 00:07:22 – Django 5.1 released - Django Weblog
                      • 00:07:27 – Django security releases issued: 5.0.8 and 4.2.15
                      • 00:07:49 – How I Use Python to Organize My Data Analyses
                      • 00:13:45 – Sponsor: Mailtrap
                      • 00:14:21 – pandas GroupBy: Grouping Real World Data in Python
                      • 00:20:33 – Working With JSON Data in Python
                      • 00:25:01 – Asyncio Event Loop in Separate Thread
                      • 00:30:33 – Video Course Spotlight
                      • 00:31:47 – Habits of great software engineers
                      • 00:49:17 – pyxel: A Retro Game Engine for Python
                      • 00:52:36 – python-vendorize: Vendorize Packages From PyPI
                      • 00:54:18 – Thanks and goodbye
                      • News:

                        • Setuptools Breaks Things, Then Fixes Them – This post is Bite Code’s monthly summary, but the lead story happened just days ago. In line with a 7 year old deprecation, setuptools finally removed the ability to call its test command. Many packages promptly broke. The following day the change was undone.
                        • PEP 751: A File Format to List Python Dependencies for Installation Reproducibility (New) – This PEP proposes a new file format for dependency specification to enable reproducible installation in a Python environment.
                        • Python 3.13.0 Release Candidate 1 Released
                        • Python Insider: Python 3.12.5 released
                        • Django 5.1 released - Django Weblog
                        • Django security releases issued: 5.0.8 and 4.2.15 - Django Weblog
                        • Show Links:

                          • How I Use Python to Organize My Data Analyses – This is a description of how Joshua uses Python in a package-centric way to organize his approach to data analyses. This is a system he has evolved while working on his computational biology Ph.D. and working in industry.
                          • pandas GroupBy: Grouping Real World Data in Python – In this course, you’ll learn how to work adeptly with the pandas GroupBy while mastering ways to manipulate, transform, and summarize data. You’ll work with real-world datasets and chain GroupBy methods together to get data into an output that suits your needs.
                          • Working With JSON Data in Python – In this tutorial, you’ll learn how to read and write JSON-encoded data in Python. You’ll begin with practical examples that show how to use Python’s built-in “json” module and then move on to learn how to serialize and deserialize custom data.
                          • Asyncio Event Loop in Separate Thread – Typically, the asyncio event loop runs in the main thread, but as that is the one used by the interpreter, sometimes you want the event loop to run in a separate thread. This article talks about why and how to do just that.
                          • Discussion:

                            • Habits of great software engineers
                            • Projects:

                              • pyxel: A Retro Game Engine for Python
                              • python-vendorize: Vendorize Packages From PyPI
                              • Additional Links:

                                • Everyday Project Packaging With pyproject.toml – Real Python
                                • Packaging Your Python Code With pyproject.toml - Complete Code Conversation - YouTube
                                • Episode #197: Using Python in Bioinformatics and the Laboratory – The Real Python Podcast
                                • Level up your Python skills with our expert-led courses:

                                  • Working With JSON in Python
                                  • Everyday Project Packaging With pyproject.toml
                                  • pandas GroupBy: Grouping Real World Data in Python
                                  • Support the podcast & join our community of Pythonistas

                                    56 min
                                  • Learning Through Building the Black Python Devs Community

                                    What hurdles must be cleared when starting an international organization? How do you empower others in a community by sharing responsibilities? This week on the show, we speak with Jay Miller about Black Python Devs.

                                    Jay shares how the idea of forming a community began through attending conferences. They wanted to welcome more black developers into the Python community. We discuss the introduction of Black Python Devs as part of their PyCon 2024 keynote presentation.

                                    Jay explains working with a few key people to build the group’s foundations. They talk about the difficulty of letting other people share in the responsibilities and ownership as the membership grew. We also discuss the advantages of partnering with a non-profit organization.

                                    This episode is sponsored by InfluxData.

                                    Course Spotlight: Interacting With REST APIs and Python

                                    In this video course, you’ll learn how to use Python to communicate with REST APIs. You’ll learn about REST architecture and how to use the requests library to get data from a REST API. You’ll also explore different Python tools you can use to build REST APIs.

                                    Topics:

                                    • 00:00:00 – Introduction
                                    • 00:02:50 – PyCon 2024 Keynote
                                    • 00:06:02 – New role at Aiven
                                    • 00:11:32 – Nobody knows what Dev Rel is
                                    • 00:19:43 – Podcasting about productivity
                                    • 00:24:12 – Sponsor: InfluxData
                                    • 00:24:57 – Starting Black Python Devs
                                    • 00:33:11 – Distinct perspectives and problems
                                    • 00:37:10 – Partnering with Gnome Foundation
                                    • 00:40:31 – What were hurdles in starting Black Python Devs?
                                    • 00:45:31 – Video Course Spotlight
                                    • 00:47:01 – What do you wish you knew before you started?
                                    • 00:50:56 – What’s your latest win?
                                    • 00:53:28 – Helping people prepare for jobs and new roles
                                    • 00:58:03 – What’s your call to action?
                                    • 01:00:26 – What are you excited about in the world of Python?
                                    • 01:03:48 – How do you stay motivated to keep learning Python?
                                    • 01:06:19 – What do you want to learn next?
                                    • 01:09:02 – How can people follow your work online?
                                    • 01:11:02 – Thanks and goodbye
                                    • Show Links:

                                      • Black Python Devs - Home
                                      • PyCon 2024 Keynote Speaker - Jay Miller - YouTube
                                      • PyCon 2024 Keynote Speaker - Sumana Harihareswara - YouTube
                                      • Conduit - Relay FM
                                      • Aiven - Your Trusted Data & AI Platform
                                      • Abigail Mesrenyame Dogbe Honored with Inaugural Outstanding PyLady Award
                                      • Episode #86: The Legacy of OLPC and Charismatic Pitfalls in Teaching Programming – The Real Python Podcast
                                      • Black Python Devs Join the GNOME Foundation Nonprofit Umbrella – The GNOME Foundation
                                      • Applying for a Hacker Initiative Grant With Bill Pollock of No Starch Press – The Real Python Podcast
                                      • Jay Miller - Personal Website
                                      • kjaymiller - Jay Miller’s GitHub
                                      • Jay Miller (@[email protected]) - Fosstodon
                                      • Jay Miller - LinkedIn
                                      • Render Engine - read the docs
                                      • Level up your Python skills with our expert-led courses:

                                        • Sneaky REST APIs With Django Ninja
                                        • Unleashing the Power of the Console With Rich
                                        • Interacting With REST APIs and Python
                                        • Support the podcast & join our community of Pythonistas

                                          1 hr 13 min
                                        • Using GraphQL in Django With Strawberry & Prototype Purgatory

                                          How do you integrate GraphQL into your Python web development? How about quickly building graph-based APIs inside Django’s battery-included framework? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder’s Weekly articles and projects.

                                          Christopher shares a recent tutorial for building GraphQL APIs in Django using the Python library Strawberry. The tutorial digs into creating a project, defining models, and creating GraphQL queries and mutations using Strawberry.

                                          We discuss a blog post from Nat Bennet titled “Why do prototypes suck?” We dig into the common pitfalls of building prototypes and the misconceptions between developers and end users.

                                          We also share several other articles and projects from the Python community, including a news roundup, using HTMX with FastAPI, creating an unbelievably stupid airline Wi-Fi package, extracting wisdom from conference videos, writing pixel images to the terminal, and a macOS app for Jupyter Notebooks.

                                          This episode is sponsored by Mailtrap.

                                          Course Spotlight: Building a URL Shortener With FastAPI and Python

                                          In this video course, you’ll build an app to create and manage shortened URLs. Your Python URL shortener can receive a full target URL and return a shortened URL. You’ll also use the automatically created documentation of FastAPI to try out your API endpoints.

                                          Topics:

                                          • 00:00:00 – Introduction
                                          • 00:02:27 – Python 3.13.0 Beta 4 Released
                                          • 00:03:15 – Using HTMX With FastAPI
                                          • 00:09:51 – Free, Unbelievably Stupid Wi-Fi on Long-Haul Flights
                                          • 00:13:37 – Sponsor: Mailtrap
                                          • 00:14:13 – “Extracting Wisdom” From Conference Videos
                                          • 00:22:34 – Developing GraphQL APIs in Django With Strawberry
                                          • 00:30:01 – Video Course Spotlight
                                          • 00:31:33 – Why do prototypes suck?
                                          • 00:42:53 – Satyrn: macOS App for Jupyter Notebooks
                                          • 00:46:41 – rich-pixels: A Rich-compatible library for writing pixel images
                                          • 00:48:23 – Thanks and goodbye
                                          • News:

                                            • Python 3.13.0 Beta 4 Released
                                            • Topics:

                                              • Using HTMX With FastAPI – This tutorial looks at how use HTMX with FastAPI by creating a simple todo web app and deploying it on Render.
                                              • Free, Unbelievably Stupid Wi-Fi on Long-Haul Flights – Deep in a need to procrastinate on a flight between London and San Francisco, Robert discovered that changing his name on an airline’s frequent flyer account was free over the plane’s WiFi. What’s a developer to do? Work on their tickets? No, create an entire TCP/IP protocol using this loophole. The result is the PySkyWiFi package.
                                              • “Extracting Wisdom” From Conference Videos – There are so many conferences and so many videos, you can’t possibly watch them all. This post shows you how to extract information to summarize a talk so you can quickly decide what you want to watch.
                                              • Developing GraphQL APIs in Django With Strawberry – This tutorial details how to integrate GraphQL with Django using Strawberry.
                                              • Discussion:

                                                • Why do prototypes suck?
                                                • Project:

                                                  • Satyrn: macOS App for Jupyter Notebooks
                                                  • darrenburns/rich-pixels: A Rich-compatible library for writing pixel images and ASCII art to the terminal.
                                                  • Additional Links:

                                                    • htmx - high power tools for html
                                                    • Using FastAPI to Build Python Web APIs – Real Python
                                                    • Ollama
                                                    • fabric: An open-source framework for augmenting humans using AI
                                                    • A modern GraphQL library for Python - 🍓 Strawberry GraphQL
                                                    • Satyrn Discord
                                                    • Level up your Python skills with our expert-led courses:

                                                      • Python REST APIs With FastAPI
                                                      • Building a URL Shortener With FastAPI and Python
                                                      • Sneaky REST APIs With Django Ninja
                                                      • Support the podcast & join our community of Pythonistas

                                                        50 min
                                                      • Build Captivating Display Tables in Python With Great Tables

                                                        Do you need help making data tables in Python look interesting and attractive? How can you create beautiful display-ready tables as easily as charts and graphs in Python? This week on the show, we speak with Richard Iannone and Michael Chow from Posit about the Great Tables Python library.

                                                        Michael and Richard discuss the design philosophy and history behind creating display tables. We dig into the grammar of tables, the background of the project, and an ingenious way to build a collection of examples for a library.

                                                        We briefly cover how Richard and Michael started contributing to open source. We also discuss practicing data skills with challenges and resources like Tidy Tuesday.

                                                        This episode is sponsored by Mailtrap.

                                                        Course Spotlight: Graph Your Data With Python and ggplot

                                                        In this course, you’ll learn how to use ggplot in Python to build data visualizations with plotnine. You’ll discover what a grammar of graphics is and how it can help you create plots in a very concise and consistent way.

                                                        Topics:

                                                        • 00:00:00 – Introduction
                                                        • 00:02:00 – Michael’s background in open source
                                                        • 00:04:07 – Rich’s background in open source
                                                        • 00:05:27 – Advice for someone starting out
                                                        • 00:08:55 – What do you mean by the term “display” table
                                                        • 00:11:32 – What components were missing from other tables?
                                                        • 00:13:31 – Using examples to explain features
                                                        • 00:16:09 – Why was there an absence of this functionality in Python?
                                                        • 00:19:35 – A progressive approach and the grammar of tables
                                                        • 00:21:26 – Sponsor: Mailtrap
                                                        • 00:22:01 – The design philosophy of great tables
                                                        • 00:25:31 – Nanoplots, spark lines, and column spanners
                                                        • 00:27:06 – Building a gallery of examples
                                                        • 00:28:56 – Heat mapping cells and automatically adjusting text color
                                                        • 00:32:54 – Output formats for the tables
                                                        • 00:34:46 – Building in accessibility
                                                        • 00:36:55 – Dependencies
                                                        • 00:37:42 – What is the common workflow?
                                                        • 00:41:39 – Video Course Spotlight
                                                        • 00:43:15 – Adding graphics
                                                        • 00:46:41 – Using a table contest to get examples
                                                        • 00:49:47 – quartodoc and documenting the project
                                                        • 00:55:00 – Tidy Tuesday and data science community
                                                        • 01:00:29 – What are you excited about in the world of Python?
                                                        • 01:03:46 – What do you want to learn next?
                                                        • 01:08:05 – How can people follow the work you do online?
                                                        • 01:09:57 – Thanks and goodbye
                                                        • Show Links:

                                                          • Great Tables - Intro
                                                          • Examples – great_tables
                                                          • great-tables: Make awesome display tables using Python. - GitHub
                                                          • siuba: Python library for using dplyr like syntax with pandas and SQL
                                                          • The Design Philosophy of Great Tables – great_tables
                                                          • Richard Iannone - Using Great Tables to Make Presentable Tables in Python - YouTube
                                                          • Evaluation of the players of #LigaEndesa this week in Europe - Great Tables Example - X
                                                          • quartodoc: Generate API documentation with quarto
                                                          • Tidy Tuesday R Screencasts - YouTube
                                                          • Polars — DataFrames for the new era
                                                          • narwhals-dev/narwhals: Lightweight and extensible compatibility layer between dataframe libraries!
                                                          • A Grammar of Graphics for Python – plotnine 0.13.6
                                                          • Richard Iannone - GitHub
                                                          • Michael Chow - GitHub)
                                                          • Richard Iannone - LinkedIn
                                                          • Michael Chow - LinkedIn
                                                          • Level up your Python skills with our expert-led courses:

                                                            • Using Jupyter Notebooks
                                                            • Graph Your Data With Python and ggplot
                                                            • pandas GroupBy: Grouping Real World Data in Python
                                                            • Support the podcast & join our community of Pythonistas

                                                              1 hr 11 min
                                                            • Constraint Programming & Exploring Python's Built-in Functions

                                                              What are discrete optimization problems? How do you solve them with constraint programming in Python? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder’s Weekly articles and projects

                                                              Christopher discusses an article about constraint programming using Python. He describes the fundamentals and how the problems resemble logic problems you may have experienced in school. The article shows how to solve a weekly work scheduling problem using the open-source CP-SAT package.

                                                              We discuss Leodanis Pozo Ramos’s recent tutorial, “Python’s Built-in Functions: A Complete Exploration.” These functions are available for use directly in your code without importing.

                                                              We also share several other articles and projects from the Python community, including a news roundup, spotting ships with satellites, grappling with Apple’s App Store rejecting Python applications, considering changes to Python’s security model, discussing pivoting from one development path to another, prettifying Jinja and Django templates, and generating static sites with Python.

                                                              This episode is sponsored by Sentry.

                                                              Course Spotlight: Parallel Iteration With Python’s zip() Function

                                                              In this course, you’ll learn how to use the Python zip() function to solve common programming problems. You’ll learn how to traverse multiple iterables in parallel and create dictionaries with just a few lines of code.

                                                              Topics:

                                                              • 00:00:00 – Introduction
                                                              • 00:02:35 – Polars 1.0 Released
                                                              • 00:03:26 – Psycopg 3.2 Released
                                                              • 00:04:06 – Django security releases issued: 5.0.7 and 4.2.14
                                                              • 00:04:40 – PyBay 2024 Call for Proposals
                                                              • 00:05:16 – Python’s Built-in Functions: A Complete Exploration
                                                              • 00:12:10 – Satellites Spotting Ships
                                                              • 00:16:02 – Sponsor: Sentry
                                                              • 00:17:09 – Python Grapples With Apple App Store Rejections
                                                              • 00:20:27 – Python’s Security Model After the xz-utils Backdoor
                                                              • 00:25:38 – Video Course Spotlight
                                                              • 00:26:56 – Constraint Programming Using CP-SAT and Python
                                                              • 00:31:40 – Any Web Devs Successfully Pivoted to AI/ML Development?
                                                              • 00:43:12 – aurora: Static Site Generator Implemented in Python
                                                              • 00:45:14 – Running Prettier Against Django or Jinja Templates
                                                              • 00:46:58 – Thanks and goodbye
                                                              • News:

                                                                • Polars 1.0 Released
                                                                • Psycopg 3.2 Released
                                                                • Django security releases issued: 5.0.7 and 4.2.14
                                                                • PyBay 2024 Call for Proposals
                                                                • Show Links:

                                                                  • Python’s Built-in Functions: A Complete Exploration – In this tutorial, you’ll learn the basics of working with Python’s numerous built-in functions. You’ll explore how you can use these predefined functions to perform common tasks and operations, such as mathematical calculations, data type conversions, and string manipulations.
                                                                  • Satellites Spotting Ships – Umbra Space has released a data set consisting of satellite based radar images of shipping. This article from Mark shows you how to grab the data, visualize, and annotate it.
                                                                  • Python Grapples With Apple App Store Rejections – A string that is part of the urllib parser module in Python references a scheme for apps that use the iTunes feature to install other apps, which is disallowed. Auto scanning by Apple is rejecting any app that uses Python 3.12 underneath. A solution has been proposed for Python 3.13.
                                                                  • Python’s Security Model After the xz-utils Backdoor – The backdoor introduced to the xz-utils compression project through social engineering was one of the topics at the Python Language Summit. Participants discussed what can be done to prevent similar social engineering attacks on the Python source.
                                                                  • Constraint Programming Using CP-SAT and Python – Constraint programming is the process of looking for solutions based on a series of restrictions, like employees over 18 who have worked the cash before. This article introduces the concept and shows you how to use open source libraries to write constraint solving code.
                                                                  • Discussion:

                                                                    • Any Web Devs Successfully Pivoted to AI/ML Development?
                                                                    • Projects:

                                                                      • aurora: Static Site Generator Implemented in Python
                                                                      • Running Prettier Against Django or Jinja Templates – “Prettier” is a JavaScript based linting tool for templates. For folks not familiar with the world of npm, it can be a bit daunting to get it going. Simon fiddled with it so you don’t have to and posted how he got it working on his system.
                                                                      • Additional Links:

                                                                        • Episode #209: Python’s Command-Line Utilities & Music Information Retrieval Tools – The Real Python Podcast
                                                                        • Python Module Index — Python 3.12.4 documentation
                                                                        • Built-in Functions — Python 3.12.4 documentation
                                                                        • Briefcase— BeeWare
                                                                        • Ask HN: What’s Prolog like in 2024? - Hacker News
                                                                        • Episode #199: Leveraging Documents and Data to Create a Custom LLM Chatbot – The Real Python Podcast
                                                                        • PEP 730 – Adding iOS as a supported platform | peps.python.org
                                                                        • Level up your Python skills with our expert-led courses:

                                                                          • Parallel Iteration With Python's zip() Function
                                                                          • Python Inner Functions
                                                                          • Jinja Templating
                                                                          • Support the podcast & join our community of Pythonistas

                                                                            48 min
                                                                          • Digging Into Graph Theory in Python With David Amos

                                                                            Have you wondered about graph theory and how to start exploring it in Python? What resources and Python libraries can you use to experiment and learn more? This week on the show, former co-host David Amos returns to talk about what he’s been up to and share his knowledge about graph theory in Python.

                                                                            David started a Ph.D. program studying mathematics, with a focus on graph theory. Though life interrupted his pursuit after three years, he is still passionate about the subject. He’s been using these skills to create documentation and teach users as part of RelationalAI’s education team.

                                                                            David has also been exploring the Julia programming language. He wrote about it on his blog, created videos, and started a podcast on the topic. He shares his excitement about learning new techniques from different languages and how these ideas can enhance your coding in Python.

                                                                            This episode is sponsored by Sentry.

                                                                            Course Spotlight: Defining Python Constants for Code Maintainability

                                                                            In this video course, you’ll learn how to properly define constants in Python. By coding a bunch of practical example, you’ll also learn how Python constants can improve your code’s readability, reusability, and maintainability.

                                                                            Topics:

                                                                            • 00:00:00 – Introduction
                                                                            • 00:02:09 – What have you been up to?
                                                                            • 00:03:31 – Exploring the Julia language
                                                                            • 00:07:24 – Where do you see Julia being used?
                                                                            • 00:10:17 – Cross pollination of languages
                                                                            • 00:12:45 – Connecting with RelationalAI
                                                                            • 00:16:33 – Sponsor: Sentry
                                                                            • 00:17:42 – Digging into graph theory
                                                                            • 00:21:54 – Edges as connections
                                                                            • 00:24:55 – Defining terms
                                                                            • 00:31:30 – Storing graph information
                                                                            • 00:41:55 – Applications once the graph is built
                                                                            • 00:49:07 – Video Course Spotlight
                                                                            • 00:50:40 – Additional resources to learn more
                                                                            • 00:53:59 – What are you excited about in the world of Python?
                                                                            • 00:58:05 – What do you want to learn next?
                                                                            • 01:00:25 – How can people follow your work online?
                                                                            • 01:02:55 – Thanks and goodbye
                                                                            • Show Links:

                                                                              • RelationalAI - a knowledge graph coprocessor for your data cloud.
                                                                              • The Julia Programming Language
                                                                              • Talk Julia - YouTube
                                                                              • Five Minutes To Julia. David Amos - Medium Member Link
                                                                              • Five Minutes To Julia. David Amos - Medium Friend Link
                                                                              • Getting Started with RelationalAI - RelationalAI Docs
                                                                              • Example Notebooks - RelationalAI Docs
                                                                              • The Hunt for the Missing Data Type - Hillel Wayne
                                                                              • Introduction to Graph Theory: Richard J Trudeau
                                                                              • The Fascinating World of Graph Theory: Arthur Benjamin, Gary Chartrand, Ping Zhang
                                                                              • NetworkX — NetworkX documentation
                                                                              • Embeddings and Vector Databases With ChromaDB – Real Python
                                                                              • Episode #199: Leveraging Documents and Data to Create a Custom LLM Chatbot – The Real Python Podcast
                                                                              • Graph Theory With Python - David’s YouTube Playlist
                                                                              • David Amos (@[email protected]) - Hachyderm.io
                                                                              • David Amos - LinkedIn
                                                                              • David Amos – Medium
                                                                              • Level up your Python skills with our expert-led courses:

                                                                                • Using Jupyter Notebooks
                                                                                • Python Basics: Setting Up Python
                                                                                • Defining Python Constants for Code Maintainability
                                                                                • Support the podcast & join our community of Pythonistas

                                                                                  1 hr 5 min
                                                                                • Python Doesn't Round Numbers the Way You Might Think

                                                                                  Does Python round numbers the same way you learned back in math class? You might be surprised by the default method Python uses and the variety of ways to round numbers in Python. Christopher Trudeau is back on the show this week, bringing another batch of PyCoder’s Weekly articles and projects.

                                                                                  Christopher discusses his recent video course, “Rounding Numbers in Python.” He covers rounding bias and how to avoid introducing it into your dataset. We dig into the various rounding strategies and how to implement them in Python.

                                                                                  We also share several other articles and projects from the Python community, including a news roundup, a fast Python linter for error-free and maintainable code, the decline of the user interface, more thoughts on Python in Excel, a discussion about calendar versioning for Python, a financial database as a Python module, and a project to prettify the colors of your terminal user interfaces.

                                                                                  This episode is sponsored by Sentry.

                                                                                  Course Spotlight: Rounding Numbers in Python

                                                                                  In this video course, you’ll learn about the mistakes you might make when rounding numbers and how to best manage or avoid them. It’s a great place to start for the early to intermediate Python developer who’s interested in using Python for finance, data science, or scientific computing.

                                                                                  Topics:

                                                                                  • 00:00:00 – Introduction
                                                                                  • 00:02:06 – NumPy 2.0.0 Release Notes
                                                                                  • 00:02:52 – Python 3.13.0 beta 3 released
                                                                                  • 00:03:05 – Announcing the PSF Board Candidates for 2024!
                                                                                  • 00:03:27 – Prohibiting Outlook Email Domains
                                                                                  • 00:04:31 – Ruff: A Python Linter for Error-Free and Maintainable Code
                                                                                  • 00:09:31 – Sponsor: Sentry
                                                                                  • 00:10:35 – The Decline of the User Interface
                                                                                  • 00:19:14 – My Thoughts on Python in Excel
                                                                                  • 00:26:30 – Rounding Numbers in Python
                                                                                  • 00:30:53 – Video Course Spotlight
                                                                                  • 00:32:13 – PEP 2026: Calendar Versioning for Python
                                                                                  • 00:42:37 – Financial Database as a Python Module
                                                                                  • 00:45:34 – prettypretty: Build Awesome Terminal User Interfaces
                                                                                  • 00:47:48 – Thanks and goodbye
                                                                                  • News:

                                                                                    • NumPy 2.0.0 Release Notes — NumPy v2.0 Manual – The long awaited 2.0 release of NumPy landed this week. Not all the docs are up to date yet, but this final draft of the release notes shows you what is included.
                                                                                    • Python Insider: Python 3.13.0 beta 3 released
                                                                                    • Python Software Foundation News: Announcing the PSF Board Candidates for 2024!
                                                                                    • Prohibiting Outlook Email Domains – Due to an inordinate amount of bot accounts coming from outlook.com and hotmail.com, PyPI has disallowed new account sign-ups with email addresses from these domains.
                                                                                    • Show Links:

                                                                                      • Ruff: A Python Linter for Error-Free and Maintainable Code – Ruff is an extremely fast, modern linter with a simple interface, making it straightforward to use. It also aims to be a drop-in replacement for other linting and formatting tools, like Pylint, isort, and Black. It’s no surprise it’s quickly becoming one of the most popular Python linters.
                                                                                      • The Decline of the User Interface – “Software has never looked cooler, but user interface design and user experience have taken a sharp turn for the worse.”
                                                                                      • My Thoughts on Python in Excel – Microsoft’s new Python in Excel functionality was released almost a year ago. Having now had time to play with it, Felix gives his take.
                                                                                      • Rounding Numbers in Python – In this video course, you’ll learn about the mistakes you might make when rounding numbers and how to best manage or avoid them. It’s a great place to start for the early to intermediate Python developer who’s interested in using Python for finance, data science, or scientific computing.
                                                                                      • Discussion:

                                                                                        • PEP 2026: Calendar Versioning for Python – This PEP proposes updating the versioning scheme for Python to include the calendar year. This aims to make the support lifecycle clear by making it easy to see when a version was first released, and easier to work out when it will reach end of life (EOL).
                                                                                        • Associated discussion
                                                                                        • Semantic Versioning 2.0.0 - Semantic Versioning
                                                                                        • Calendar Versioning — CalVer
                                                                                        • Projects:

                                                                                          • FinanceDatabase: Financial Database as a Python Module
                                                                                          • prettypretty: Build Awesome Terminal User Interfaces
                                                                                          • Additional Links:

                                                                                            • The Humane Interface - Wikipedia
                                                                                            • Python Resources for working with Excel - Working with Excel Files in Python
                                                                                            • Episode #186: Exploring Python in Excel – The Real Python Podcast
                                                                                            • Cash rounding - Wikipedia
                                                                                            • Level up your Python skills with our expert-led courses:

                                                                                              • Editing Excel Spreadsheets in Python With openpyxl
                                                                                              • Python Basics: Numbers and Math
                                                                                              • Rounding Numbers in Python
                                                                                              • Support the podcast & join our community of Pythonistas

                                                                                                49 min
                                                                                              • Creating a Guitar Synthesizer & Generating WAV Files With Python

                                                                                                What techniques go into synthesizing a guitar sound in Python? What higher-level programming and Python concepts can you practice while building advanced projects? This week on the show, we talk with Real Python author and core team member Bartosz Zaczyński about his recent step-by-step project, Build a Guitar Synthesizer: Play Musical Tablature in Python.

                                                                                                Bartosz shares how he had built an early prototype of the guitar synth using a different language. He describes recreating the Karplus-Strong algorithm in Python to create the plucked guitar sounds. We discuss teaching advanced Python concepts while guiding readers through constructing a complete project.

                                                                                                We also dig into reading and writing WAV files in Python, using Spotify’s pedalboard library, implementing Poetry in a project, and designing a file format for guitar tablature.

                                                                                                This episode is sponsored by Mailtrap.

                                                                                                Course Spotlight: Playing and Recording Sound in Python

                                                                                                In this course, you’ll learn about libraries that can be used for playing and recording sound in Python, such as PyAudio and python-sounddevice. You’ll also see code snippets for playing and recording sound files and arrays, as well as for converting between different sound file formats.

                                                                                                Topics:

                                                                                                • 00:00:00 – Introduction
                                                                                                • 00:02:04 – Reading and writing WAV files in Python
                                                                                                • 00:04:48 – What did you want to learn about the topic?
                                                                                                • 00:08:02 – Finding new ways to explain Python concepts
                                                                                                • 00:09:52 – Turning audio into plots and visualizations
                                                                                                • 00:12:11 – Using Python for synthesis and the guitar synth project
                                                                                                • 00:13:19 – What is your music background?
                                                                                                • 00:18:36 – Sponsor: Mailtrap
                                                                                                • 00:19:11 – First prototype of the project
                                                                                                • 00:22:23 – What does the project cover?
                                                                                                • 00:25:08 – Audio examples of the output
                                                                                                • 00:26:31 – Digging into the algorithm
                                                                                                • 00:31:40 – Convolution reverb
                                                                                                • 00:34:15 – Physical modeling and pedalboard
                                                                                                • 00:38:08 – Video Course Spotlight
                                                                                                • 00:39:31 – What Python concepts are you practicing?
                                                                                                • 00:41:11 – Using Python poetry
                                                                                                • 00:43:00 – Why use YAML for the TAB files?
                                                                                                • 00:46:13 – What does it mean to be a polyglot programmer?
                                                                                                • 00:48:37 – Potential upcoming Real Python resources
                                                                                                • 00:52:10 – How can people follow your work online?
                                                                                                • 00:52:30 – What do you want to learn next?
                                                                                                • 00:54:56 – Thanks and goodbye
                                                                                                • Show Links:

                                                                                                  • Build a Guitar Synthesizer: Play Musical Tablature in Python – Real Python
                                                                                                  • Reading and Writing WAV Files in Python – Real Python
                                                                                                  • Episode #200: Avoiding Error Culture and Getting Help Inside Python – The Real Python Podcast
                                                                                                  • ActionScript - Wikipedia
                                                                                                  • Apache Flex® - Home Page
                                                                                                  • Too Many Zooz - Official Website
                                                                                                  • Watch Reverb - Watch the Sound With Mark Ronson (Season 1, Episode 3) - Apple TV+
                                                                                                  • Longest Reverb In the World - Inchindown - YouTube
                                                                                                  • Karplus–Strong string synthesis - Wikipedia
                                                                                                  • Physical modeling synthesis - Wikipedia
                                                                                                  • pedalboard: 🎛 🔊 A Python library for audio - Spotify
                                                                                                  • Poetry - Python dependency management and packaging made easy
                                                                                                  • Dependency Management With Python Poetry – Real Python
                                                                                                  • YAML: The Missing Battery in Python – Real Python
                                                                                                  • Guitar Tabs with Rhythm - Songsterr
                                                                                                  • It Starts with Food - The Whole30® Program
                                                                                                  • Bartosz Zaczyński - LinkedIn
                                                                                                  • Level up your Python skills with our expert-led courses:

                                                                                                    • Histogram Plotting in Python: NumPy, Matplotlib, Pandas & Seaborn
                                                                                                    • Playing and Recording Sound in Python
                                                                                                    • Simulating Real-World Processes in Python With SimPy
                                                                                                    • Support the podcast & join our community of Pythonistas

                                                                                                      56 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