Is your Python program printing out a traceback? You have an uncaught exception! You can catch that exception with a `try`-`except` block.
Read an article version of this video at https://pym.dev/how-to-catch-an-excep...
Find more Python screencasts at https://pym.dev/screencasts/
00:00 A program that counts TODOs in a file
00:58 Python prints a traceback for unhandled exceptions
01:21 Reading our traceback to figure out where the exception occurred
01:48 Handling an exception with a try-except block
02:57 Summary
Nesta página do site você pode assistir ao vídeo on-line How to catch an exception in Python duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Python Morsels 05 Julho 2023, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 267 vezes e gostou 14 espectadores. Boa visualização!