The Real Python Podcast

Making Your Notebook Interactive and Using Python's Assert


Listen Later

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.

We talk about an article that shows how to build interactive visualizations with pandas, seaborn, and ipywidgets. These widgets allow you to add sliders, buttons, and dropdown menus to your Jupyter Notebooks.

Christopher shares the Real Python article “Python’s assert: Debug and Test Your Code Like a Pro”. It covers how to use assert statements to document, debug, and test code while in development.

We cover several other articles and projects from the Python community, including a news roundup, code review guidelines for data science teams, a project to manage your to-do lists using Python and Django, a Python 4 dream list, a static site generator based on Django, and a book of practical Python projects.

Course Spotlight: Building a Neural Network & Making Predictions With Python AI

In this step-by-step course, you’ll build a neural network from scratch as an introduction to the world of artificial intelligence (AI) in Python. You’ll learn how to train your neural network and make predictions based on a given dataset.

Topics:

  • 00:00:00 – Introduction
  • 00:02:12 – Tomli TOML Parser Will Be in Python 3.11 Standard Library
  • 00:03:53 – Python Core Moving Bug Tracking to Github
  • 00:05:54 – Python Release: Python 3.11.0a6
  • 00:06:09 – PEPs have a new home with a shiny, new theme!
  • 00:07:03 – Python’s assert: Debug and Test Your Code Like a Pro
  • 00:10:35 – Sponsor: FusionAuth
  • 00:11:12 – Interactive Visualizations with Pandas, Seaborn and Ipywidgets
  • 00:16:06 – Code Review Guidelines for Data Science Teams
  • 00:19:22 – Manage Your To-Do Lists Using Python and Django
  • 00:23:56 – Video Course Spotlight
  • 00:24:56 – Your Python 4 Dream List
  • 00:34:37 – django-distill | Static Site Generator Based on Django
  • 00:38:40 – Practical Python Projects Book
  • 00:46:02 – Thanks and Goodbye
  • News:

    • Tomli TOML Parser Will Be in Python 3.11 Standard Library
    • Python Core Moving Bug Tracking to Github
    • Python Release: Python 3.11.0a6 | Python.org
    • “PEPs have a new home with a shiny, new theme!” | Brett Cannon on Twitter
    • Topic Links:

      • Python’s assert: Debug and Test Your Code Like a Pro – Learn how to use Python’s assert statement to document, debug, and test code in development.
      • Interactive Visualizations with Pandas, Seaborn and Ipywidgets – Create interactive visual output using ipywidgets.
      • Code Review Guidelines for Data Science Teams – Although written for data science teams, a good article on why any team of coders should do code reviews. How to do them, what to look for, and how to improve your code.
      • Manage Your To-Do Lists Using Python and Django – Use Django to build a to-do list manager app. This step-by-step tutorial will teach you how to use Django’s class-based views to build a powerful app while dramatically reducing your development time.
      • Your Python 4 Dream List – “If there was to ever be Python 4 (not a minor version increment, but full fledged new Python), what would you like to see in it?”
      • Projects:

        • django-distill | Static Site Generator Based on Django
        • Practical Python Projects Book
        • Additional Links:

          • What the heck is pyproject.toml?
          • Episode #82: Welcoming the CPython Developer in Residence | The Real Python Podcast
          • PEP 0 – Index of Python Enhancement Proposals (PEPs) | peps.python.org
          • seaborn: statistical data visualization | seaborn 0.11.2 documentation
          • Cameras and Lenses | Bartosz Ciechanowski
          • weasyprint | PyPI
          • Level up your Python skills with our expert-led courses:

            • Building a Neural Network & Making Predictions With Python AI
            • Using Jupyter Notebooks
            • Plot With pandas: Python Data Visualization Basics
            • Support the podcast & join our community of Pythonistas

              ...more
              View all episodesView all episodes
              Download on the App Store

              The Real Python PodcastBy Real Python

              • 4.7
              • 4.7
              • 4.7
              • 4.7
              • 4.7

              4.7

              136 ratings


              More shows like The Real Python Podcast

              View all
              Software Engineering Radio - the podcast for professional software developers by se-radio@computer.org

              Software Engineering Radio - the podcast for professional software developers

              272 Listeners

              The Changelog: Software Development, Open Source by Changelog Media

              The Changelog: Software Development, Open Source

              283 Listeners

              Thoughtworks Technology Podcast by Thoughtworks

              Thoughtworks Technology Podcast

              41 Listeners

              Talk Python To Me by Michael Kennedy

              Talk Python To Me

              592 Listeners

              Software Engineering Daily by Software Engineering Daily

              Software Engineering Daily

              624 Listeners

              Soft Skills Engineering by Jamison Dance and Dave Smith

              Soft Skills Engineering

              269 Listeners

              Super Data Science: ML & AI Podcast with Jon Krohn by Jon Krohn

              Super Data Science: ML & AI Podcast with Jon Krohn

              298 Listeners

              Python Bytes by Michael Kennedy and Brian Okken

              Python Bytes

              213 Listeners

              Data Engineering Podcast by Tobias Macey

              Data Engineering Podcast

              142 Listeners

              Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

              Syntax - Tasty Web Development Treats

              982 Listeners

              DataFramed by DataCamp

              DataFramed

              266 Listeners

              Kubernetes Podcast from Google by Abdel Sghiouar, Kaslin Fields

              Kubernetes Podcast from Google

              181 Listeners

              Practical AI by Practical AI LLC

              Practical AI

              189 Listeners

              The Stack Overflow Podcast by The Stack Overflow Podcast

              The Stack Overflow Podcast

              64 Listeners

              The Pragmatic Engineer by Gergely Orosz

              The Pragmatic Engineer

              52 Listeners