Skip to content

Videos: Errors and Debugging

Back to concept


Best single video

  • Exceptions in Python by Socratica (~5 min) A concise, polished explanation of Python exceptions, try/except blocks, and common error types. Socratica covers the essentials without overwhelming beginners, making this the ideal first video on error handling. https://www.youtube.com/watch?v=nlCKrKGHSSk

Alternative explanations

  • CS50P - Lecture 3: Exceptions by Harvard / David Malan (~2 hrs full lecture) Harvard's CS50 Python course dedicates an entire lecture to exceptions, covering SyntaxError, ValueError, try/except, else, pass, and raise. David Malan builds understanding methodically with live coding and audience interaction. https://www.youtube.com/watch?v=LW7g1169v7w

  • Python Full Course by Bro Code (~12 hrs full course) Bro Code's full course includes a dedicated chapter on exception handling with practical examples in a casual, approachable style. Use video timestamp chapters to jump to the error handling section. https://www.youtube.com/watch?v=XKHEtdqhLK8

Deep dives

  • Unit Tests in Python by Socratica (~10 min) Understanding testing is closely tied to debugging. This video covers Python's unittest module and shows how writing tests helps you catch and prevent errors systematically. https://www.youtube.com/watch?v=1Lfv5tUGsn8

Interactive practice


Last verified: 2026-02-25. If a link is broken, please open an issue.