The Real Python Podcast

Considering ChatGPT's Technical Review of a Programming Book


Listen Later

What can you learn from feeding an entire book on Python programming into ChatGPT-4 and asking it to provide a technical review? What are the potential pitfalls of using an LLM as a learning tool? This week on the show, author Al Sweigart talks about his recent experiments using ChatGPT and Python.

Al wanted to test how well an LLM could understand the computer science concepts covered in his recent book, The Recursive Book of Recursion. We talk about the positive and negative results of this technical review. We consider if this would be a valuable tool for technical review of your projects.

Al shares his thoughts on using ChatGPT as a learning tool and its potential pitfalls. We also cover the current strengths of this type of tool for Python developers.

Course Spotlight: Python Basics Exercises: Conditional Logic and Control Flow

In this Python Basics Exercises course, you’ll review how to use conditional logic to write programs that perform different actions based on different conditions. Paired with functions and loops, conditional logic allows you to write complex programs that can handle many different situations.

Topics:

  • 00:00:00 – Introduction
  • 00:01:51 – Reasons for experimenting
  • 00:04:24 – Using ChatGPT to review his recursion book
  • 00:10:45 – Why do this review?
  • 00:11:34 – The trouble of confabulation
  • 00:18:45 – Meaning of artificial intelligence over time
  • 00:28:21 – Video Course Spotlight
  • 00:29:54 – Detailed prompts and asking for specifics
  • 00:36:44 – Potential pitfalls for learning
  • 00:49:48 – Checking for flaws in generated code
  • 00:54:58 – How can it be useful?
  • 01:01:33 – Touching briefly on ethics
  • 01:02:35 – What are you excited about in the world of Python?
  • 01:05:21 – What do you want to learn next?
  • 01:07:36 – Python Programming Exercises, Gently Explained
  • 01:09:20 – How can people follow your work online?
  • 01:09:49 – Thanks and goodbye
  • Show Links:

    • Al Sweigart’s Website
    • Using ChatGPT-4 to Review My Recursion Programming Book - The Invent with Python Blog
    • Prompt Engineering: A Practical Example – Real Python
    • ChatGPT: Your Personal Python Coding Mentor – Real Python
    • GitHub Copilot: Fly With Python at the Speed of Thought – Real Python
    • ChatGPT: US lawyer admits using AI for case research - BBC News
    • If a hammer was like AI…
    • The Elements of AI Ethics
    • Al Sweigart: An Overview of the Python Code Tool Landscape 2023 - YouTube
    • Python Programming Exercises, Gently Explained
    • Invent with Python
    • Ruff, an extremely fast Python linter - Astral
    • Rust Programming Language
    • Command Line Applications in Rust
    • Level up your Python skills with our expert-led courses:

      • Python Basics: Strings and String Methods
      • Python Basics Exercises: Conditional Logic and Control Flow
      • Python Basics: Conditional Logic and Control Flow
      • 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

        139 ratings


        More shows like The Real Python Podcast

        View all
        The Changelog: Software Development, Open Source by Changelog Media

        The Changelog: Software Development, Open Source

        288 Listeners

        Software Engineering Daily by Software Engineering Daily

        Software Engineering Daily

        625 Listeners

        Talk Python To Me by Michael Kennedy

        Talk Python To Me

        579 Listeners

        Soft Skills Engineering by Jamison Dance and Dave Smith

        Soft Skills Engineering

        289 Listeners

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

        Super Data Science: ML & AI Podcast with Jon Krohn

        303 Listeners

        Python Bytes by Michael Kennedy and Brian Okken

        Python Bytes

        213 Listeners

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

        Syntax - Tasty Web Development Treats

        988 Listeners

        Darknet Diaries by Jack Rhysider

        Darknet Diaries

        8,087 Listeners

        Tech Brew Ride Home by Morning Brew

        Tech Brew Ride Home

        967 Listeners

        Practical AI by Practical AI LLC

        Practical AI

        197 Listeners

        AWS Podcast by Amazon Web Services

        AWS Podcast

        207 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)

        100 Listeners

        The Pragmatic Engineer by Gergely Orosz

        The Pragmatic Engineer

        70 Listeners