Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Python Error Handling - Python Tutorial From Two Lazy Programmers

Extern Code via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore Python error handling techniques in this comprehensive tutorial from two lazy programmers. Dive into various error types including syntax, typing, logic, and if statement errors. Learn when and how to implement error handling using try-except blocks, and understand concepts like sys.exit, boolean variables, and different error scenarios. Discover strategies for finding and testing errors, handling every possible error, and determining the appropriate level of error handling. Gain practical insights through a text message translation challenge and receive guidance on where to find additional resources. Perfect for beginners and intermediate Python developers looking to enhance their error handling skills in this widely-used, versatile programming language employed by major tech companies like Google, YouTube, and Reddit.

Syllabus

Intro
Syntax errors
Typing errors
Logic errors
If statement errors
When to add error handling
Try
exeinfo
error
name of error
Not indented code
cyst on exit
boolean variable
different situations
finding errors
testing
handling every possible error
how much error handling should you do
your challenge
text message translation
where to get everything

Taught by

Extern Code

Reviews

Start your review of Python Error Handling - Python Tutorial From Two Lazy Programmers

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.