The Real Python Podcast

The Real Python Podcast

By Real PythonTechnology
Download on the App Store

The Real Python Podcast episodes

  • Resolving Package Dependencies With the New Version of Pip

    If you use Python, then you probably have used pip to install additional packages from the Python package index. Part of the magic behind pip is the dependency resolver, and there is a new version of it in the latest version of pip. This week on the show, we have Sumana Harihareswara and Georgia Bullen, who have been working on the recent releases of pip. Sumana is the project manager for pip, and Georgia has been working on pip’s user experience (UX).

    The resolver is how pip determines what to install, and in what order, based on package requirements. We talk about how you can help, from updating to the latest release, testing out the new resolver with your projects, and answering surveys about your experiences. A ton of work has gone into making the updates this year. We also talk about the funding of projects like this in the open-source community.

    Course Spotlight: A Beginner’s Guide to Pip

    This course is a great introduction to pip for those who are getting started Python, and for those who want to understand more about what is happening when you install new packages into your environment. It’s a worthy investment of your time to understand the fundamentals of pip.

    Show Topics:

    • 00:00:00 – Introduction
    • 00:01:41 – Pip updates and changes to dependency resolver
    • 00:08:49 – Different types of wheels
    • 00:11:12 – Pinning package dependencies
    • 00:13:19 – Work on the user experience (UX) of pip
    • 00:15:45 – Documentation at Python packaging authority and thanks to Thea Flowers
    • 00:16:21 – Types of issues that need resolving
    • 00:20:48 – Need for reporting issues
    • 00:23:41 – Pip usability survey and dependency recipes to test
    • 00:27:21 – Call out to open source maintainers to test
    • 00:29:32 – Video Course Spotlight
    • 00:30:43 – How is this UX work different from Simply Secure
    • 00:34:59 – How do you present errors to users?
    • 00:41:14 – Pip release timeline for 2020 and into 2021
    • 00:46:38 – The dynamics of responsibility and power
    • 00:49:43 – What’s involved in getting more funding into open source?
    • 00:54:10 – Grant writing for the PSF
    • 00:57:53 – Call to action: How to help with pip?
    • 01:00:54 – What are you excited about in the world of Python?
    • 01:04:52 – What do you want to learn next?
    • 01:08:22 – Thanks and goodbyes
    • Show Links:

      • New pip resolver to roll out this year: Python Software Foundation
      • Changes to the pip dependency resolver in 20.2 (2020): Python Packaging Authority
      • Changes are coming to pip: YouTube
      • Sign-up for pip UX Studies!
      • Upgrade to pip 20.2, plus, changes coming in 20.3: Python Insider
      • Pip team midyear report: July 13, 2020
      • An Overview of Packaging for Python: PyPA
      • pip dependency resolver changes: Test & Code Podcast
      • What Are Python Wheels and Why Should You Care?: Real Python article
      • Python Wheels and Pass by Reference in Python: Real Python Podcast Ep23
      • Options for Packaging Your Python Application: Wheels, Docker, and More: Real Python Podcast Ep24
      • UX Research & Design: 2020 Work on Improving pip’s user experience
      • Simple Secure: User Research
      • Roadmap update for TUF (The Update Framework) support
      • Exploring CircuitPython with Thea Flowers: Real Python Podcast Ep5
      • PyPA - Packaging Problems Issue Tracker: Github
      • PEP 458 - Secure PyPI downloads with signed repository metadata
      • Fixing conflicting dependencies: PyPA
      • Finish dependency resolver for pip: Github
      • Announcing the PSF Project Funding Working Group: PSF
      • Sponsor PyPI and related projects
      • Tidelift: Managed open source. Backed by maintainers.
      • Apply for Grants To Fund Open Source Work: changeset
      • Open collective: Make your community sustainable
      • Sustain: Holding a space for conversations about sustaining Open Source
      • Answer these surveys to improve pip’s usability: Python Software Foundation
      • Breaking Release Bottlenecks – What Changeset Can Do
      • On The Art of Python 2019
      • Python Grab Bag: A Set of Short Plays
      • “Apply for Grants to Fund Open Source Work” - Sumana Harihareswara: PyOhio 2020
      • PyGotham TV: 2020
      • Get paid to write Free software: Cristina - PyGotham 2020
      • Level up your Python skills with our expert-led courses:

        • How to Publish Your Own Python Package to PyPI
        • Python Modules and Packages: An Introduction
        • A Beginner's Guide to pip
        • Support the podcast & join our community of Pythonistas

          1 hr 10 min
        • Using Pylance to Write Better Python Inside of Visual Studio Code

          A big decision a developer has to make is what tool to use to write code? Would you like an editor that understands Python, and is there to help with suggestions, definitions, and analysis of your code? For many developers, its the free tool, Visual Studio Code. This week on the show, we have Savannah Ostrowski, program manager for the Python Language Server and Python in Visual Studio. We discuss Pylance, a new language server with fast, feature-rich language support for Python in VS Code.

          Savannah explains what a language server is and the types of features it can provide. This includes type information, code completion, automatic-imports, dead code analysis, code navigation, and more. We also have a discussion about type checking in Python, which led to how Pylance leverages the static type checking tool Pyright, and what are type stubs (.pyi files).

          Course Spotlight: Python Type Checking

          In this course, you’ll look at Python type checking. Traditionally, types have been handled by the Python interpreter in a flexible but implicit way. Recent versions of Python allow you to specify explicit type hints that can be used by different tools to help you develop your code more efficiently.

          Topics:

          • 00:00:00 – Introduction
          • 00:01:47 – Current Role at Microsoft
          • 00:03:01 – Background with Python
          • 00:04:21 – Origins of Pylance
          • 00:06:53 – What is a language server?
          • 00:09:56 – Diving deeper into the features individually
          • 00:14:42 – Code navigation and diagnostics
          • 00:15:43 – Methods of defining types and stub files
          • 00:17:28 – What are examples of stub files?
          • 00:21:16 – Comparing Pyright to Mypy
          • 00:23:56 – Video Course Spotlight
          • 00:25:02 – Auto-imports are a contentious feature
          • 00:28:36 – Code actions and dead code analysis
          • 00:31:46 – Pylance working with Jupyter notebooks in VSCode
          • 00:33:30 – Multiple workspaces
          • 00:36:16 – Why do you like to work on developer tools?
          • 00:39:35 – How does a tool like Pylance help a beginner?
          • 00:42:31 – What are you excited about in the world of Python?
          • 00:46:25 – What do you want to learn next?
          • 00:49:24 – Thanks and goodbyes
          • Show Links:

            • Announcing Pylance: Fast, feature-rich language support for Python in Visual Studio Code
            • Pylance introduces five new features that enable type magic for Python developers
            • Python in Visual Studio Code – September 2020 Release
            • Pylance and Python in VS Code: Visual Studio Code v1.49 Release Party - YouTube
            • Language Server Protocol
            • Language Server Protocol: Github
            • How the Language Server Protocol Affects the Future of IDEs
            • typeshed: External type annotations for the Python standard library and Python builtins, as well as third party packages
            • Pyright: Static type checker for Python
            • PEP 561 – Distributing and Packaging Type Information
            • Visual Studio IntelliCode: Provides AI-assisted development features for Python
            • Creating Stubs For Python Modules
            • Python Type Checking: Real Python video course
            • Feather Huzzah: Adafruit
            • Circuit Playground Express: Adafruit
            • Circuit Python: The easiest way to program microcontrollers
            • Big Honking Button: Winterbloom
            • Arduino With Python: How to Get Started - Real Python video course
            • Level up your Python skills with our expert-led courses:

              • Python Type Checking
              • Finding the Perfect Python Code Editor
              • Arduino With Python: Getting Started
              • Support the podcast & join our community of Pythonistas

                51 min
              • Preparing for an Interview With Python Practice Problems

                What is an effective way to prepare for a Python interview? Would you like a set of problems that increase in difficulty to practice and hone your Python skills? This week on the show, we have Jim Anderson to talk about his new Real Python article, “Python Practice Problems: Get Ready for Your Next Interview.” This article provides several problems, which include skeleton code, unit tests, and solutions for you to compare your work.

                David Amos also joins us this week, and he has brought another batch of PyCoder’s Weekly articles and projects from the Python community. We cover these topics: Structural Pattern Matching, Common Python Data Structures, A Tax Attorney Uses Python, Discover the Role of Python in Space Exploration, and Five Pairs of Magic Methods in Python That You Should Know.

                Course Spotlight: How to Implement a Python Stack

                In this course, you’ll learn how to implement a Python stack. You’ll see how to recognize when a stack is a good choice for data structures, how to decide which implementation is best for a program, and what extra considerations to make about stacks in a threading or multiprocessing environment.

                Topics:

                • 00:00:00 – Introduction
                • 00:01:37 – Python Practice Problems
                • 00:08:19 – Structural Pattern Matching
                • 00:14:16 – Common Python Data Structures
                • 00:17:49 – Video Course Spotlight
                • 00:18:42 – A Tax Attorney Uses Python
                • 00:23:36 – Discover the Role of Python in Space Exploration
                • 00:26:33 – Thanks for the Reviews!
                • 00:27:28 – 5 Pairs of Magic Methods in Python That You Should Know
                • 00:36:56 – python-adventure: Original Colossal Caves Adventure Game
                • 00:41:06 – clifford: Geometric Algebra for Python
                • 00:43:45 – pippi: Computer Music With Python
                • 00:46:24 – Thanks and Goodbye
                • Show Links:

                  Python Practice Problems: Get Ready for Your Next Interview – Are you a Python developer brushing up on your skills before an interview? If so, then this tutorial will usher you through a series of Python practice problems meant to simulate common coding test scenarios.

                  “Structural Pattern Matching”; for Python, Part 2 – The saga of PEP 622 continues with updates to the proposed structure of the match statement—which has some similarities to a switch statement—and a discussion on the best way to document objections to a PEP.

                  Common Python Data Structures (Guide) – In this tutorial, you’ll learn about Python’s data structures. You’ll look at several implementations of abstract data types and learn which implementations are best for your specific use cases.

                  A Tax Attorney Uses Python – See how one tax attorney uses Python to automate grueling and repetitive tasks and improve his business. While the article is non-technical, it’s always fun to see how Python is used in diverse fields.

                  Discover the Role of Python in Space Exploration – In this learning path from Microsoft, you’ll get an introduction to Python, and be inspired to learn, discover, and create using Python-based data science and machine learning to help generate knowledge about the world beyond Earth.

                  5 Pairs of Magic Methods in Python That You Should Know – Magic, or “dunder,” methods are an important part of creating custom classes in Python. Learn about some commonly used magic methods by exploring hem in pairs that are frequently used together.

                  python-adventure: Original Colossal Caves Adventure Game, but in Python 3

                  clifford: Geometric Algebra for Python

                  pippi: Computer Music With Python

                  Additional Links:

                  • Python Coding Interviews: Tips & Best Practices: Real Python Course
                  • The Singleton Pattern: A “Creational Pattern” from the Gang of Four book
                  • The Python heapq Module: Using Heaps and Priority Queues: Real Python Article
                  • How to Implement a Python Stack: Real Python Article
                  • Python Stacks, Queues, and Priority Queues in Practice: Real Python Article
                  • codespell: Fix common misspellings in text files.
                  • Level up your Python skills with our expert-led courses:

                    • A Conceptual Primer on OOP in Python
                    • Implementing a Stack in Python
                    • Working With Linked Lists in Python
                    • Support the podcast & join our community of Pythonistas

                      48 min
                    • 5 Years Podcasting Python With Michael Kennedy: Growth, GIL, Async, and More

                      Why is Python pulling in so many new programmers? Maybe some of that growth is from Python being a full-spectrum language. This week on the show we have Michael Kennedy, the host of the podcast “Talk Python to Me”. Michael reflects on five years of podcasting about Python, and many of the changes he has seen in the Python landscape.

                      We discuss several stories about the different ways Python is being used, and how that is drawing in many new programmers. Michael covers some potential Python stumbling blocks of Async, the Python Global Interpreter Lock (GIL), building desktop apps, and type checking. We also talk about how podcasts can act as a form of language immersion.

                      Course Spotlight: Editing Excel Spreadsheets in Python With openpyxl

                      In this course, you’ll learn how to handle spreadsheets in Python using the openpyxl package. You’ll learn how to manipulate Excel spreadsheets, extract information from spreadsheets, create simple or more complex spreadsheets, including adding styles, charts, and so on.

                      Topics:

                      • 00:00:00 – Introduction
                      • 00:01:34 – Changes in the Python landscape over the last 5 years
                      • 00:08:09 – Changing the perspective from scripts to applications
                      • 00:10:48 – Python as a full-spectrum language
                      • 00:17:13 – What are the areas of growth for Python
                      • 00:22:09 – Stories highlights from Talk Python
                      • 00:27:48 – Stack Overflow Developer Surveys
                      • 00:33:22 – Enterprise use and contributions to Python
                      • 00:38:04 – Video Course Spotlight
                      • 00:39:20 – A monk learns Python and OpenCV
                      • 00:48:18 – Things that have been hard to do in Python
                      • 00:52:07 – How is the GIL part of the problem?
                      • 00:56:37 – Leave a review, it will help the show, Thanks!
                      • 00:57:04 – More on Async in Python
                      • 01:03:38 – Recent courses developed
                      • 01:10:05 – Who listens to a Python podcast?
                      • 01:13:06 – What are you excited about in the world of Python?
                      • 01:17:46 – What do you want to learn next?
                      • 01:23:17 – What is something you thought you knew about Python, but were wrong about it?
                      • 01:26:58 – Thanks and goodbye
                      • Show Links:

                        • Talk Python To Me
                        • Brit uni’s AI algorithm clocks 50 exoplanets hidden in Kepler space ‘scope archives
                        • Fifty new planets confirmed in machine learning first
                        • Apple MainStage: Nine Inch Nails – YouTube
                        • Stack Overflow Trends: See how technologies have trended over time
                        • Stack Overflow: Most Loved, Dreaded, and Wanted Languages
                        • Enterprise Software with Python: Mahmoud Hashemi - Talk Python Ep54
                        • Python in digital humanities research: Cornelis van Lit - Talk Python Ep230
                        • PEP 554 – Multiple Interpreters in the Stdlib
                        • Machine Learning at the Large Hadron Collider: Talk Python Ep144
                        • Python at the Large Hadron Collider and CERN: Talk Python Ep29
                        • 12 of the Biggest Spreadsheet Fails in History: Oracle Blog
                        • FastAPI: Modern, fast (high-performance), web framework for building APIs with Python
                        • Starlette: Lightweight ASGI framework/toolkit
                        • Unsync: Unsynchronize asyncio by using an ambient event loop in a separate thread
                        • Python Type Checking: Real Python Video Course
                        • pydanctic: Data validation and settings management using Python type annotations
                        • Level up your Python skills with our expert-led courses:

                          • Hands-On Python 3 Concurrency With the asyncio Module
                          • Python Type Checking
                          • Editing Excel Spreadsheets in Python With openpyxl
                          • Support the podcast & join our community of Pythonistas

                            1 hr 28 min
                          • Data Version Control in Python and Real Python Video Transcripts

                            Wouldn’t it be nice to a use a form of version control for data? Something that would allow you to track and version your datasets and models. Well, that’s what the tool called DVC is designed to do. This week on the show, David Amos is here and he’s brought another batch of PyCoder’s Weekly articles and projects.

                            David starts with a Real Python article titled, “Data Version Control With Python and DVC”. We also cover several other articles and projects from the Python community including: where to get exposure to well-written code, delegation – composition and inheritance, good Python project ideas for high school students, never run Python in your downloads folder, and more.

                            We also have a special guest this week. I talk to Sadie Parker, who recently joined the Real Python team to help create and edit transcripts for all the Real Python video courses. We talk about how to take advantage of all the features this new resource provides. Sadie also discusses how she uses Python to speed up and simplify the editing process. The transcripts and closed captions are now live on the website for all new courses, and we are working through the back catalog.

                            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:01 – Data Version Control With Python and DVC
                            • 00:08:57 – Where Do You Go to Get Exposure to Well-Written Code?
                            • 00:13:13 – Delegation: Composition and Inheritance in Object-Oriented Programming
                            • 00:21:46 – What Are Some Good Python Project Ideas for High School Students?
                            • 00:26:53 – Video Course Spotlight
                            • 00:27:48 – Never Run Python in Your Downloads Folder
                            • 00:35:55 – present: A Terminal-Based Presentation Tool With Colors and Effects
                            • 00:37:36 – Mini Raspberry Pi Boston Dynamics–inspired Robot
                            • 00:41:48 – Sadie Parker and Transcripts for Real Python Video Courses
                            • 00:59:26 – Thanks and Goodbye
                            • Show Links:

                              Data Version Control With Python and DVC – In this tutorial, you’ll learn to use DVC, a powerful tool that solves many problems encountered in machine learning and data science. You’ll find out how data version control helps you to track your data, share development machines with your team, and create easily reproducible experiments!

                              Where Do You Go to Get Exposure to Well-Written Code? – Maybe someone needs to start a Python reading club…

                              Delegation: Composition and Inheritance in Object-Oriented Programming – Delegation is often considered one of the three pillars of object-oriented programming. Learn how to use this powerful concept in Python.

                              What Are Some Good Python Project Ideas for High School Students? – Honestly, some of these ideas are good for any beginning Pythonista!

                              Never Run Python in Your Downloads Folder – Learn about security issues that exploit how Python interacts with PATH and why you should always think twice about your current working directory.

                              present: A Terminal-Based Presentation Tool With Colors and Effects

                              Mini Raspberry Pi Boston Dynamics–inspired Robot – See how one Redditor taught themselves robotics by building a miniature version of a Boston Dynamic’s robot dog “Spot” using a Raspberry Pi, C++, and Python.

                              Additional Links:

                              • Python 3 Module of the Week
                              • The Algorithms - Python
                              • Awesome Python Applications
                              • James Powell: So you want to be a Python expert? | PyData Seattle 2017
                              • Boston Dynamics: Spot
                              • WebVTT (Web Video Text Tracks): Wikipedia article
                              • webvtt-py: Python module for reading/writing WebVTT files
                              • pysrt: SubRip (.srt) subtitle parser and writer
                              • Srt: A tiny library for parsing, modifying, and composing SRT files
                              • Level up your Python skills with our expert-led courses:

                                • Parallel Iteration With Python's zip() Function
                                • Grow Your Python Portfolio With 13 Intermediate Project Ideas
                                • Editing Excel Spreadsheets in Python With openpyxl
                                • Support the podcast & join our community of Pythonistas

                                  1 hr 1 min
                                • Options for Packaging Your Python Application: Wheels, Docker, and More

                                  Have you wondered, how should I package my Python code? You’ve written the application, but now you need to distribute it to the machines it’s intended to run on. It depends on what the code is, the libraries it depends on, and with whom do you want to share it. This week on the show we have Itamar Turner-Trauring, creator of the website pythonspeed.com. We discuss his article “Options for Packaging Your Python Code: Wheels, Conda, Docker, and More,” covering the how of sharing your code.

                                  Itamar also briefly discusses his Python memory profiler named Fil. We talk about his recent PyCon 2020 presentation, “Small Big Data: What to do When Your Data Doesn’t Fit in Memory.” We also cover several of the resources available on his website for data scientists that want to get deeper into Docker.

                                  Course Spotlight: Python Coding Interviews: Tips & Best Practices

                                  In this step-by-step course, you’ll learn how to take your Python coding interview skills to the next level and use Python’s built-in functions and modules to solve problems faster and more easily.

                                  Topics:

                                  • 00:00:00 – Introduction
                                  • 00:01:36 – About the naming of pythonspeed.com
                                  • 00:03:47 – Fil - Python Memory Profiler
                                  • 00:06:44 – Small Big Data: What to do when your data doesn’t fit in memory - PyCon 2020
                                  • 00:12:17 – Options for packaging your Python code: Wheels, Conda, Docker, and more
                                  • 00:15:13 – Python Wheels
                                  • 00:19:22 – pipx: Install and Run Python Applications in Isolated Environments
                                  • 00:20:52 – PEX, and friends
                                  • 00:24:51 – System Package, RPM or DEB
                                  • 00:29:42 – Conda Packaging and conda-forge
                                  • 00:36:09 – Video Course Spotlight
                                  • 00:37:23 – Self-contained executable: PyInstaller, PyOxidizer, Briefcase
                                  • 00:43:45 – Container image (Docker, Singularity)
                                  • 00:54:55 – Why alpine may not be the best choice
                                  • 01:05:28 – Singularity
                                  • 01:07:50 – What are you excited about in the world of Python?
                                  • 01:10:40 – What do you want to learn next?
                                  • 01:13:54 – Thanks and Goodbye
                                  • Show Links:

                                    • Python => Speed: Ship Better Python Software, Faster
                                    • Code Without Rules: Helping You Become a Productive Programmer and Get Work/Life Balance
                                    • Talk Python to Me – Episode #274: Profiling Data Science Code with FIL
                                    • Fil: A New Python Memory Profiler for Data Scientists and Scientists
                                    • Small Big Data: What to do When Your Data Doesn’t Fit in Memory - PyCon 2020
                                    • Episode 16: Thinking in Pandas: Python Data Analysis the Right Way
                                    • Options for Packaging Your Python Code: Wheels, Conda, Docker, and More
                                    • What Are Python Wheels and Why Should You Care?: Real Python article
                                    • pipx — Install and Run Python Applications in Isolated Environments
                                    • pex: A Library and Tool for Generating .pex (Python EXecutable) Files
                                    • WTF is PEX?: Twitter Lightning Talk - YouTube
                                    • RPM (Red Hat Package Manager): Wikipedia article
                                    • DEB (Debian Package - file format): Wikipedia article
                                    • Conda: Package, Dependency and Environment Management for Any Language
                                    • conda-forge: A community-led collection of recipes, build infrastructure and distributions for the conda package manager
                                    • PyInstaller: Freezes (packages) Python applications into stand-alone executables
                                    • PyOxidizer: A utility for producing binaries that embed Python
                                    • Briefcase: Convert a Python project into a standalone native application
                                    • Docker: Get Started with Docker
                                    • Just Enough Docker Packaging: Book
                                    • Episode 8: Docker + Python for Data Science and Machine Learning
                                    • Using Alpine can make Python Docker builds 50× slower
                                    • Introduction to Singularity
                                    • Docker vs. Singularity for data processing: UIDs and filesystem access
                                    • Best practices for production-ready Docker packaging: EuroPython 2020 talk
                                    • EuroPython 2020 Talk: Brian Track Stream - Unedited - Starts @08:33:45
                                    • Statistical Rethinking: A Bayesian Course with Examples
                                    • Bayes Theorem: 3Blue1Brown - YouTube
                                    • Level up your Python skills with our expert-led courses:

                                      • How to Publish Your Own Python Package to PyPI
                                      • Documenting Code in Python
                                      • Python Coding Interviews: Tips & Best Practices
                                      • Support the podcast & join our community of Pythonistas

                                        1 hr 15 min
                                      • Python Wheels and Pass by Reference in Python

                                        Have you wondered what Python wheels are? How are they used to package Python code? Does Python use pass by value or pass by reference? This week on the show, David Amos is here to help answer these questions, and he has brought another batch of PyCoder’s Weekly articles and projects.

                                        We talk about an article called “What are Python Wheels, and Why Should You Care.” David talks about a Real Python article about pass by reference in Python. We cover several other articles and projects from the Python community including: transcribing speech to text, 4 powerful features Python is still missing, 10 awesome pythonic one-liners, and even more options for packaging your Python code.

                                        Course Spotlight: Practical Recipes for Working With Files in Python

                                        In this course, you’ll learn how you can work with files in Python by using built-in modules to perform practical tasks that involve groups of files, like renaming them, moving them around, archiving them, and getting their metadata.

                                        Topics:

                                        • 00:00:00 – Introduction
                                        • 00:01:25 – 4 Powerful Features Python Is Still Missing
                                        • 00:14:41 – What Are Python Wheels and Why Should You Care?
                                        • 00:23:58 – 10 Awesome Pythonic One-Liners Explained
                                        • 00:38:11 – Video Course Spotlight
                                        • 00:39:14 – How to Transcribe Speech Recordings Into Text With Python
                                        • 00:43:34 – Pass by Reference in Python: Background and Best Practices
                                        • 00:49:54 – Options for Packaging Your Python Code: Wheels, Conda, Docker, and More
                                        • 00:55:53 – PyOxidizer: A Modern Python Application Packaging and Distribution Tool
                                        • 01:00:13 – Python and PDF: A Review of Existing Tools
                                        • 01:04:01 – Thanks and Goodbye
                                        • Show Links:

                                          4 Powerful Features Python Is Still Missing – Python doesn’t have true constants, nor does it implement features like tail recursion optimization that many compiled languages employ. Find out what other features Python is “missing” when compared to other languages, and why the core developers haven’t added these features to the language.

                                          What Are Python Wheels and Why Should You Care? – In this tutorial, you’ll learn what Python wheels are and why you should care as both a developer and end user of Python packages. You’ll see how the wheel format has gained momentum over the last decade and how it has made the package installation process faster and more stable.

                                          10 Awesome Pythonic One-Liners Explained – Some things in Python are just better on one line.

                                          How to Transcribe Speech Recordings Into Text With Python – Learn to transcribe speech in recordings like MP3s into text with Python and AssemblyAI’s API

                                          Pass by Reference in Python: Background and Best Practices – In this tutorial, you’ll explore the concept of passing by reference and learn how it relates to Python’s own system for handling function arguments. You’ll look at several use cases for passing by reference and learn some best practices for implementing pass-by-reference constructs in Python.

                                          Options for Packaging Your Python Code: Wheels, Conda, Docker, and More – There’s a lot of ways to package your Python code. Find out which one is right for you.

                                          PyOxidizer: A Modern Python Application Packaging and Distribution Tool

                                          Python and PDF: A Review of Existing Tools – The ultimate list of PDF tools in Python.

                                          Additional Links:

                                          • Cool New Features in Python 3.8: More Precise Types - Real Python article
                                          • Python 101 - Chapter 39 – Python wheels
                                          • Language Design Is Not Just Solving Puzzles: Guido Van Rossum
                                          • How to Publish an Open-Source Python Package to PyPI - Real Python article
                                          • AssemblyAI: Speech-to-Text API
                                          • Level up your Python skills with our expert-led courses:

                                            • Lists and Tuples in Python
                                            • How to Work With a PDF in Python
                                            • Practical Recipes for Working With Files in Python
                                            • Support the podcast & join our community of Pythonistas

                                              1 hr 5 min
                                            • Create Cross-Platform Python GUI Apps With BeeWare

                                              Do you want to distribute your Python applications to other users who don’t have or even use Python? Maybe you’re interested in seeing your Python application run on iOS or Android mobile devices. This week on the show we have Russell Keith-Magee, the founder and maintainer of the BeeWare project. Russell talks about Briefcase, a tool that converts a Python application into native installers on macOS, Windows, Linux, and mobile devices.

                                              We spend some time digging into BeeWare’s cross-platform widget toolkit named Toga. Russell talks about some of the intricacies of converting graphical user interface components from across multiple computing platforms. If you’re interested in contributing to an open source project, he discusses how you could get involved in the project. We also talk about the struggle of getting funding for open source projects.

                                              Course Spotlight: Python Decorators 101

                                              In this course on Python decorators, you’ll learn what they are and how to create and use them. Decorators provide a simple syntax for calling higher-order functions in Python. By definition, a decorator is a function that takes another function and extends the behavior of the latter function without explicitly modifying it.

                                              Topics:

                                              • 00:00:00 – Introduction
                                              • 00:01:36 – History of the BeeWare project
                                              • 00:05:20 – Is having separate tools helpful?
                                              • 00:07:06 – Gaming frameworks in Briefcase
                                              • 00:09:05 – How is Briefcase different from similar tools?
                                              • 00:14:36 – Platform considerations 32bit vs 64bit
                                              • 00:16:27 – Coming Mac hardware platform changes
                                              • 00:18:20 – TOML: Background, use in Python projects, and Briefcase
                                              • 00:26:29 – How is the project going for different platforms?
                                              • 00:32:09 – Android hardware as a developer test device
                                              • 00:36:14 – Making Toga (GUI) cross platform
                                              • 00:41:21 – What type of interface widgets are available in Toga?
                                              • 00:44:26 – Video Course Spotlight
                                              • 00:45:37 – Distribution to the web as a platform
                                              • 00:49:54 – What is WASM (Web Assembly)?
                                              • 00:53:26 – Version numbering for BeeWare projects
                                              • 00:56:23 – What is your day-to-day involvement in the project?
                                              • 00:58:32 – How would someone get involved in the project?
                                              • 01:05:15 – Funding open-source projects
                                              • 01:13:31 – Including a smaller version of Python
                                              • 01:17:08 – What are you currently excited about?
                                              • 01:22:17 – What are you interested in learning next?
                                              • 01:23:07 – Thanks and Goodbye
                                              • Show Links:

                                                • BeeWare: Write once. Deploy everywhere.
                                                • Briefcase: Convert a Python Project Into a Standalone Native Application
                                                • Toga: A Python Native, OS Native GUI Toolkit
                                                • BeeWare Documentation
                                                • Snakes in a case: Packaging Python apps for distribution - Russell Keith-Magee PyCon 2020
                                                • Python Community Interview With Russell Keith-Magee: Real Python
                                                • Ceci n’est pas un homepage: The personal blog of Russell Keith-Magee
                                                • Ludum Dare: Online Event Where Games are Made From Scratch in a Weekend
                                                • PursuedPyBear: Unbearably Fun Game Development
                                                • Blink: PPB App, Packaged with Briefcase
                                                • TOML: Tom’s Obvious, Minimal Language
                                                • What the heck is pyproject.toml?
                                                • Everyday Project Packaging With pyproject.toml
                                                • PEP 518 – Specifying Minimum Build System Requirements for Python Projects
                                                • Elinor Ostrom’s 8 Principles for Managing A Commons - On the Commons
                                                • Russell Keith-Magee Github Sponsors Page
                                                • BeeWare Financial Membership
                                                • PSF: Become a Supporting Member of the Python Software Foundation!
                                                • Quake in the browser
                                                • WebAssembly: Binary Instruction Format for a Stack-based Virtual Machine
                                                • Emscripten: Toolchain for Compiling to asm.js and WebAssembly
                                                • Announcing Pylance: Fast, feature-rich language support for Python in Visual Studio Code
                                                • Level up your Python skills with our expert-led courses:

                                                  • Python Decorators 101
                                                  • How to Publish Your Own Python Package to PyPI
                                                  • Structuring a Python Application
                                                  • Support the podcast & join our community of Pythonistas

                                                    1 hr 24 min
                                                  • Exploring K-means Clustering and Building a Gradebook With Pandas

                                                    Do you want to learn the how and when of implementing K-means clustering in Python? Would you like to practice your pandas skills with a real-world project? This week on the show, David Amos is back with another batch of PyCoder’s Weekly articles and projects.

                                                    David talks about a Real Python article about how to perform K-means clustering in Python. We also talk about a new project based article on the site about how to create a gradebook using pandas, practicing the skills of importing, merging, and calculating across groups of data. We cover several other articles and projects from the Python community including: JPEG image decoding, object-oriented development with interfaces and mixins, sparking joy with Python, five package picks from Real Python authors, and more.

                                                    Course Spotlight: Reading and Writing CSV Files

                                                    This course teaches how to read and write data to CSV files using Python’s built in csv module and the pandas library. You’ll learn how to handle standard and non-standard data such as CSV files without headers, or files containing delimiters in the data.

                                                    Topics:

                                                    • 00:00:00 – Introduction
                                                    • 00:01:34 – Understanding and Decoding a JPEG Image Using Python
                                                    • 00:08:41 – K-Means Clustering in Python: A Practical Guide
                                                    • 00:12:49 – Pandas Project: Make a Gradebook With Pandas
                                                    • 00:17:54 – Video Course Spotlight
                                                    • 00:18:53 – Interfaces, Mixins and Building Powerful Custom Data Structures in Python
                                                    • 00:32:29 – Sparking Joy With Python
                                                    • 00:43:33 – Python Packages: Five Real Python Favorites
                                                    • 00:52:15 – zxcvbn-python: Dropbox’s Realistic Password Strength Estimator
                                                    • 00:55:43 – Manim: Animation Engine for Explanatory Math Videos
                                                    • 01:00:34 – Thanks and Goodbye
                                                    • Show Links:

                                                      Understanding and Decoding a JPEG Image Using Python – Learn about the JPEG compression algorithm in this comprehensive guide to decoding JPEGs with Python.

                                                      K-Means Clustering in Python: A Practical Guide – Learn how to perform k-means clustering in Python. You’ll review evaluation metrics for choosing an appropriate number of clusters and build an end-to-end k-means clustering pipeline in scikit-learn.

                                                      Pandas Project: Make a Gradebook With Pandas – With this follow-along 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.

                                                      Interfaces, Mixins and Building Powerful Custom Data Structures in Python – How to supercharge Python’s built-in data structures and build powerful custom data structures with mixin classes.

                                                      Sparking Joy With Python – After a fling with TypeScript, one Python programmer shares some thoughts on keeping the flame alive with Python.

                                                      Python Packages: Five Real Python Favorites – In this tutorial, several Real Python authors share Python packages we like to use as alternatives to modules in the standard library. You’ll get to know a number of useful packages, including pudb, requests, parse, dateutil, and typer.

                                                      Projects:

                                                      • zxcvbn-python: Dropbox’s Realistic Password Strength Estimator
                                                      • Manim: Animation engine for explanatory math videos
                                                      • Additional Links:

                                                        • JPEG - Wikipedia article
                                                        • YCbCr - Wikipedia article
                                                        • Python Type Checking (Guide) - Real Python article
                                                        • The Pandas DataFrame: Make Working With Data Delightful - Real Python article
                                                        • Implementing an Interface in Python - Real Python article
                                                        • TypeScript: Open-source language which builds on JavaScript
                                                        • 3Blue1Brown - YouTube channel
                                                        • Getting Started Animating with manim and Python 3.7
                                                        • Level up your Python skills with our expert-led courses:

                                                          • Reading and Writing CSV Files
                                                          • A Conceptual Primer on OOP in Python
                                                          • Idiomatic pandas: Tricks & Features You May Not Know
                                                          • Support the podcast & join our community of Pythonistas

                                                            1 hr 2 min
                                                          • Building PDFs in Python with ReportLab

                                                            Have you wanted to generate advanced reports as PDFs using Python? Maybe you want to build documents with tables, images, or fillable forms. This week on the show we have Mike Driscoll to talk about his book “ReportLab - PDF Processing with Python.”

                                                            Mike is an author of multiple books about Python, and has recently re-written his Python 101 book. He is also a member of the Real Python team and has written several articles for the site. Along with our discussion about ReportLab and PDFs, Mike talks about being a self-published author. We also talk briefly about his favorite Python GUI framework.

                                                            Course Spotlight: How to Work With a PDF in Python

                                                            In this step-by-step course, you’ll learn how to work with a PDF in Python. You’ll see how to extract metadata from preexisting PDFs. You’ll also learn how to merge, split, watermark, and rotate pages in PDFs using Python and PyPDF2.

                                                            Topics:

                                                            • 00:00:00 – Introduction
                                                            • 00:01:23 – Python 101 book revisions/rewrite
                                                            • 00:04:48 – Python 201 book
                                                            • 00:05:47 – What Python GUI framework do you prefer?
                                                            • 00:12:46 – MouseVsPython YouTube channel
                                                            • 00:14:34 – Why write a ReportLab book?
                                                            • 00:16:11 – Kickstarter and self-publishing books
                                                            • 00:21:38 – Reader feedback about the book
                                                            • 00:22:35 – What other PDF tools are covered in the book?
                                                            • 00:23:48 – Differences with ReportLab Plus
                                                            • 00:25:00 – Flowables and PLATYPUS
                                                            • 00:28:56 – Video Course Spotlight
                                                            • 00:29:49 – What types of projects have you used ReportLab for?
                                                            • 00:35:50 – Creating PDF forms with ReportLab
                                                            • 00:40:21 – LaTeX comparison with ReportLab
                                                            • 00:41:40 – PDFMiner text extraction
                                                            • 00:43:17 – PyFPDF Library for PDF document creation
                                                            • 00:45:28 – Camelot: PDF Table Extraction for Humans
                                                            • 00:47:17 – Working with passwords and encryption - PyPDF2
                                                            • 00:47:56 – What are you excited about in the world of Python?
                                                            • 00:48:47 – Learning OpenCV
                                                            • 00:49:38 – What do you want to learn next in Python?
                                                            • 00:50:20 – Suggestions for Python libraries to read
                                                            • 00:52:11 – Thanks and Goodbye
                                                            • Show links:

                                                              • MouseVsPython Blog
                                                              • Python 101: 2nd Edition – Leanpub
                                                              • Python 201: Intermediate Python – Leanpub
                                                              • How to Build a Python GUI Application With wxPython – Real Python article
                                                              • wxPython Recipes: A Problem - Solution Approach – Apress
                                                              • wxPython: The GUI Toolkit for Python
                                                              • PySimpleGUI: The Simple Way to Create a GUI With Python – Real Python article
                                                              • PySimpleGUI: Python GUI For Humans
                                                              • Mouse Vs Python: YouTube channel
                                                              • ReportLab - PDF Processing with Python – Leanpub
                                                              • ReportLab: Developer pages - Open Source
                                                              • LaTeX – Document preparation system
                                                              • PDFMiner: Text extraction tool for PDF documents
                                                              • PyFPDF: Library for PDF document generation under Python
                                                              • Camelot: PDF Table Extraction for Humans
                                                              • PyPDF2: Pure-Python library built as a PDF toolkit
                                                              • How to Work With a PDF in Python – Real Python article
                                                              • PyViz: List of libraries for visualizing data in Python
                                                              • Adrian Rosebrock: author page – pyimagesearch.com
                                                              • OpenCV Tutorials, Resources, and Guides - pyimagesearch.com
                                                              • Image Segmentation Using Color Spaces in OpenCV + Python – Real Python article
                                                              • Pillow: The friendly PIL (Python Imaging Library) fork
                                                              • Three Ways of Storing and Accessing Lots of Images in Python – Real Python article
                                                              • Level up your Python skills with our expert-led courses:

                                                                • Interactive Data Visualization With Bokeh and Python
                                                                • Histogram Plotting in Python: NumPy, Matplotlib, Pandas & Seaborn
                                                                • How to Work With a PDF in Python
                                                                • Support the podcast & join our community of Pythonistas

                                                                  54 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