PLAY PODCASTS
The Real Python Podcast

The Real Python Podcast

300 episodes — Page 4 of 6

Ep 149Coding With namedtuple & Python's Dynamic Superpowers

Have you explored Python's collections module? Within it, you'll find a powerful factory function called namedtuple(), which provides multiple enhancements over the standard tuple for writing clearer and cleaner code. This week on the show, Christopher Trudeau is here, bringing another batch of PyCoder's Weekly articles and projects.

Mar 17, 202353 min

Ep 148Sharing Your Python App Across Platforms With BeeWare

Are you interested in deploying your Python project everywhere? This week on the show, Russell Keith-Magee, founder and maintainer of the BeeWare project, returns. Russell shares recent updates to Briefcase, a tool that converts a Python application into native installers on macOS, Windows, Linux, and mobile devices.

Mar 10, 20231h 11m

Ep 147Django Deployment Strategies & Preparing for PyCascades 2023

Have you decided how you're going to deploy your Django project? Should you use a VPS or a PaaS? Christopher Trudeau is back this week, bringing another batch of PyCoder's Weekly articles and projects. We also have organizers from PyCascades to share details about this year's hybrid in-person and virtual conference.

Mar 3, 20231h 7m

Ep 146Using NumPy and Linear Algebra for Faster Python Code

Are you still using loops and lists to process your data in Python? Have you heard of a Python library with optimized data structures and built-in operations that can speed up your data science code? This week on the show, Jodie Burchell, developer advocate for data science at JetBrains, returns to share secrets for harnessing linear algebra and NumPy for your projects.

Feb 24, 20231h 8m

Ep 145Creating a Python Wordle Clone & Testing Environments With Nox

Would you like to practice your Python skills while building a challenging word game? Have you been wanting to learn more about creating command-line interfaces and making them colorful and interactive? This week on the show, Christopher Trudeau is here, bringing another batch of PyCoder's Weekly articles and projects.

Feb 17, 202359 min

Ep 144Wrangling Business Process Models With Python and SpiffWorkflow

Can you describe your business processes with flowcharts? What if you could define the steps in a standard notation and implement the workflows in pure Python? This week on the show, Dan Funk from Sartography is here to discuss SpiffWorkflow.

Feb 10, 202352 min

Ep 143Create Interactive Maps & Geospatial Data Visualizations With Python

Would you like to quickly add data to a map with Python? Have you wanted to create beautiful interactive maps and export them as a stand-alone static web page? This week on the show, Christopher Trudeau is here, bringing another batch of PyCoder's Weekly articles and projects.

Feb 3, 20231h 2m

Ep 142Orchestrating Large and Small Projects With Apache Airflow

Have you worked on a project that needed an orchestration tool? How do you define the workflow of an entire data pipeline or a messaging system with Python? This week on the show, Calvin Hendryx-Parker is back to talk about using Apache Airflow and orchestrating Python projects.

Jan 27, 202354 min

Ep 141Exploring Python With bpython & Formalizing f-String Grammar

Have you used the Python Read-Eval-Print Loop (REPL) to explore the language and learn about how it operates? Would it help if it provided syntax highlighting, definitions, and code completion and behaved more like an IDE? This week on the show, Christopher Trudeau is here, bringing another batch of PyCoder's Weekly articles and projects.

Jan 20, 202356 min

Ep 140Speeding Up Your DataFrames With Polars

How can you get more performance from your existing data science infrastructure? What if a DataFrame library could take advantage of your machine's available cores and provide built-in methods for handling larger-than-RAM datasets? This week on the show, Liam Brannigan is here to discuss Polars.

Jan 13, 202357 min

Ep 139Surveying Comprehension Constructs & Python Parallelism Infighting

Have you embraced the use of comprehensions in your Python journey? Are you familiar with all the varieties of comprehension constructs? This week on the show, Christopher Trudeau is here, bringing another batch of PyCoder's Weekly articles and projects.

Jan 6, 202344 min

Ep 1382022 Real Python Tutorial & Video Course Wrap Up

It's been another year of changes at Real Python! The Real Python team has written, edited, curated, illustrated, and produced a mountain of Python material this year. We added some new members to the team, updated the site's features, and created new styles of tutorials and video courses.

Dec 23, 20221h 16m

Ep 137Start Using a Build System & Continuous Integration in Python

What advantages can a build system provide for a Python developer? What new skills are required when working with a team of developers? This week on the show, Benjy Weinberger from Toolchain is here to discuss the Pants build system and getting started with continuous integration (CI).

Dec 16, 20221h 0m

Ep 136Package Python Code With pyproject.toml & Listing Files With pathlib

How do you start packaging your code with pyproject.toml? Would you like to join a conversation that gently walks you through setting up your Python projects to share? This week on the show, Christopher Trudeau is here, bringing another batch of PyCoder's Weekly articles and projects.

Dec 9, 202254 min

Ep 135Preparing Data to Measure True Machine Learning Model Performance

How do you prepare a dataset for machine learning (ML)? How do you go beyond cleaning the data and move toward measuring how the model performs? This week on the show, Jodie Burchell, developer advocate for data science at JetBrains, returns to talk about strategies for better ML model performance.

Dec 2, 202257 min

Ep 134Building Python REST APIs With Flask & Structuring Pull Requests

How do you build a REST API using the Flask web framework? How can you quickly add endpoints while automatically generating documentation? This week on the show, Real Python author Philipp Acsany is here to discuss his tutorial series "Python REST APIs With Flask, Connexion, and SQLAlchemy." Christopher Trudeau is also here with another batch of PyCoder's Weekly articles and projects.

Nov 25, 202257 min

Ep 133Moving Projects Away From Passwords With WebAuthn and Python

What if you didn't have to worry about managing user passwords as a Python developer? That's where the WebAuthn protocol and new hardware standards are heading. This week on the show, Dan Moore from FusionAuth returns to discuss a password-less future.

Nov 18, 202244 min

Ep 132Creating Tic-Tac-Toe With an AI Player & Shortcuts for Python Decorators

How do you create a computer opponent for a simple game within Python? Would you also like to learn how to adapt the game to run in a web browser or graphical user interface (GUI)? This week on the show, Christopher Trudeau is here, bringing another batch of PyCoder's Weekly articles and projects.

Nov 11, 202254 min

Ep 131Exploring the New Features of Python 3.11

Python 3.11 is here! Our regular guests, Geir Arne Hjelle and Christopher Trudeau, return to talk about the new version. Geir Arne wrote a series of preview tutorials earlier this year, and his annual piece, titled "Python 3.11: Cool New Features for You to Try," was published on October 24. Christopher's video course came out the next day, covering the topics from the tutorial with visual examples of Python 3.11 in action.

Nov 4, 20221h 2m

Ep 130Fostering an Internal Python Community & Managing the 3.11 Release

Does your company have a plan for growing an internal Python community? What are the attributes to look for when bringing someone into your department? This week on the show, Pablo Galindo Salgado returns to talk about building community through the Python Guild at Bloomberg and managing the release of Python 3.11.

Oct 21, 20221h 9m

Ep 129Using an Ellipsis in Python & Goals for CPython 3.12

Where should you use an ellipsis in Python? How does it behave as a placeholder in a script, project, or stub file? What are the next goals for the Faster CPython project? This week on the show, Christopher Trudeau is here, bringing another batch of PyCoder's Weekly articles and projects.

Oct 14, 202256 min

Ep 128Using a Memory Profiler in Python & What It Can Teach You

Have you used a memory profiler to gauge the performance of your Python application? Maybe you're using it to troubleshoot memory issues when loading a large data science project. What could running a profiler show you about a codebase you're learning? This week on the show, Pablo Galindo Salgado returns to talk about Memray, a powerful tracing memory profiler.

Oct 7, 20221h 3m

Ep 127Explaining Access Control Using Python & Cautiously Handling Pickles

Have you ever used code to help explain a topic? How can Python scripts be used to understand the intricacies of access control? This week on the show, Christopher Trudeau is here, bringing another batch of PyCoder's Weekly articles and projects.

Sep 30, 202258 min

Ep 126Python as an Efficiency Tool for Non-Developers

Are you interested in using Python in an industry outside of software development? Would adding a few custom software tools increase efficiency and make your coworkers' jobs easier? This week on the show, Josh Burnett talks about using Python as a mechanical engineer.

Sep 23, 20221h 10m

Ep 125Improve Matplotlib With Style Sheets & Python Async for the Web

Have you thought the standard output from Matplotlib is a bit generic looking? Would you like a quick way to add style and consistency to your data visualizations? This week on the show, Christopher Trudeau is here, bringing another batch of PyCoder's Weekly articles and projects.

Sep 16, 202253 min

Ep 124Exploring Recursion in Python With Al Sweigart

Have you wanted to understand recursion and how to use it in Python? Are you familiar with the call stack and how it relates to tracebacks? This week on the show, Al Sweigart talks about his new book, "The Recursive Book of Recursion."

Sep 9, 20221h 20m

Ep 123Creating a Python Code Completer & More Abstract Syntax Tree Projects

How does a code completion tool work? What is an Abstract Syntax Tree, and how is it created in Python? How does an AST help you write programs and projects that inspect and modify your Python code? This week on the show, Meredydd Luff, co-founder of Anvil, shares his PyCon talk, "Building a Python Code Completer."

Sep 2, 20221h 13m

Ep 122Configuring a Coding Environment on Windows & Using TOML With Python

Have you attempted to set up a Python development environment on Windows before? Would it be helpful to have an easy-to-follow guide to get you started? This week on the show, Christopher Trudeau is here, bringing another batch of PyCoder's Weekly articles and projects.

Aug 19, 20221h 1m

Ep 121Moving NLP Forward With Transformer Models and Attention

What's the big breakthrough for Natural Language Processing (NLP) that has dramatically advanced machine learning into deep learning? What makes these transformer models unique, and what defines "attention?" This week on the show, Jodie Burchell, developer advocate for data science at JetBrains, continues our talk about how machine learning (ML) models understand and generate text.

Aug 12, 202250 min

Ep 120Inspiring Young People to Learn Python With Mission Encodeable

Is there someone in your life you'd like to inspire to learn Python? Mission Encodeable is a website designed to teach people to code, built by two high-school students. This week on the show, Anna and Harry Wake talk about creating their site and motivating people to start coding.

Aug 5, 202243 min

Ep 119Natural Language Processing and How ML Models Understand Text

How do you process and classify text documents in Python? What are the fundamental techniques and building blocks for Natural Language Processing (NLP)? This week on the show, Jodie Burchell, developer advocate for data science at JetBrains, talks about how machine learning (ML) models understand text.

Jul 29, 202258 min

Ep 118Creating Documentation With MkDocs & When to Use a Python dict

How do you start building your project documentation? What if you had a tool that could do the heavy lifting and automatically write large portions directly from your code? This week on the show, Christopher Trudeau is here, bringing another batch of PyCoder's Weekly articles and projects.

Jul 22, 202254 min

Ep 117Measuring Python Code Quality, Simplicity, and Maintainability

How maintainable is your Python code? Is it possible to hold the code for your functions in your head? When is it appropriate to use measurements in a code review? This week on the show, Reka Horvath and Ben Martineau from Sourcery are here to discuss their recent PyCon talk, "Actionable insights vs ranking: How to use and how NOT to use code quality metrics."

Jul 15, 20221h 6m

Ep 116Exploring Functional Programming in Python With Bruce Eckel

Would you like to explore the functional programming side of Python? What are the advantages of this approach, and what tools are built into the language? This week on the show, author Bruce Eckel talks about functional programming in Python.

Jul 1, 20221h 14m

Ep 115Digging Into PyScript & Preventing or Handling Python Errors

Have you heard about PyScript? The brand-new framework has the community excited about building interactive Python applications that run entirely within the user's browser. Would you like to dig into the details beyond the "Hello World" examples? This week on the show, Christopher Trudeau is here, bringing another batch of PyCoder's Weekly articles and projects.

Jun 24, 202256 min

Ep 114Getting Started in Python Cybersecurity and Forensics

Are you interested in a career in security using Python? Would you like to stay ahead of potential vulnerabilities in your Python applications? This week on the show, James Pleger talks about Python information security, incident response, and forensics.

Jun 17, 20221h 1m

Ep 113Build Streamlit Data Science Dashboards & Verbose Regex f-Strings

Would you like a fast way to share your data science project results as an interactive dashboard instead of a Jupyter notebook? Streamlit is a library for creating simple web apps and dashboards using just Python. This week on the show, Christopher Trudeau is here, bringing another batch of PyCoder's Weekly articles and projects.

Jun 10, 202250 min

Ep 112Managing Large Python Data Science Projects With Dask

What do you do when your data science project doesn't fit within your computer's memory? One solution is to distribute it across multiple worker machines. This week on the show, Guido Imperiale from Coiled talks about Dask and managing large data science projects through distributed computing.

Jun 3, 202246 min

Ep 111Questions for New Dependencies & Comparing Python Game Libraries

What are the differences between the various Python game frameworks? Would it help to see a couple of game examples across several libraries to understand the distinctions? This week on the show, Christopher Trudeau is here, bringing another batch of PyCoder's Weekly articles and projects.

May 27, 202251 min

Ep 110Advantages of Protobuf for Serialization in Python

Would you like a way to send structured serialized data between different platforms and languages? What if the data was self-documenting, could automatically generate Python code, and would validate itself? This week on the show, Liran Haimovitch talks about protocol buffers and communicating with microservices through Remote Procedure Calls (RPC).

May 20, 202258 min

Ep 109Start Testing Your Python with doctest & Pagination in Django

Did you know you can add testing to your Python code while simultaneously documenting it? Using docstrings, you can create examples of how your functions should interact in a Python REPL and test them with the built-in doctest module. This week on the show, Christopher Trudeau is here, bringing another batch of PyCoder's Weekly articles and projects.

May 13, 202256 min

Ep 108Run Python in a Browser With Pyodide & The Power of f-Strings

Have you heard about the projects working toward getting Python to run in the browser? Maybe you would like to try it out for yourself, by building an interactive Python REPL with Pyodide and WebAssembly (WASM). This week on the show, Christopher Trudeau is here, and he's brought another batch of PyCoder's Weekly articles and projects.

May 6, 202256 min

Ep 107Type-Safe ORM With Prisma Client & Real Python at PyCon US 2022

Are you using an Object-Relational Mapper (ORM) for your Python projects? What if it could work with SQL or No-SQL databases and be fully type-safe? This week on the show, Robert Craigie talks about Prisma Client Python.

Apr 22, 202258 min

Ep 106Class Constructors & Pythonic Image Processing

Do you know the difference between creating a class instance and initializing it? Would you like an interactive tour of the Python Pillow library? This week on the show, Christopher Trudeau is here, and he's brought another batch of PyCoder's Weekly articles and projects.

Apr 15, 202258 min

Ep 105Creating Better Error Messages for Python 3.10 & 3.11

What goes into creating those enhanced error messages in the latest versions of Python? How does the new PEG parser help to pinpoint where errors have occurred? This week on the show, Pablo Galindo Salgado talks about the work that goes into creating these improvements.

Apr 8, 20221h 21m

Ep 104Building a Hash Table in Python and Thoughtful REST API Design

Do you understand how a hash table works? What if you could learn about building one while practicing test-driven development? What are best practices when designing a REST API? This week on the show, Christopher Trudeau is here, and he's brought another batch of PyCoder's Weekly articles and projects.

Apr 1, 202253 min

Ep 103Becoming More Effective at Manipulating Data With Pandas

Do you wonder if you're taking the right approach when shaping data in pandas? Is your Jupyter workflow getting out of hand? This week on the show, Matt Harrison talks about his new book, "Effective Pandas: Patterns for Data Manipulation."

Mar 25, 202259 min

Ep 102Making Your Notebook Interactive and Using Python's Assert

Would you like to build visualizations that allow your audience to play with data? How do you effectively use Python's assert statement during development? This week on the show, Christopher Trudeau is here, and he's brought another batch of PyCoder's Weekly articles and projects.

Mar 18, 202247 min

Ep 101Tools for Setting Up Python on a New Machine

There are many ways to get Python installed on your computer. If you were going to start fresh, what tools would you use? What if you need to manage multiple versions of Python and virtual environments? What about all the additional tools that make your coding workflow complete? This week on the show, Calvin Hendryx-Parker is here to talk about bootstrapping your Python environment.

Mar 11, 20221h 3m

Ep 100Defining Optional Arguments and Moving Beyond "Beginner" Python

How do you define Python functions that accept optional arguments or default values? Are you wondering how to go beyond being a beginner with Python? This week on the show, Christopher Trudeau is here, and he's brought another batch of PyCoder's Weekly articles and projects.

Mar 4, 202253 min