Traceback (most recent call last): Python's tracebacks explained

Опубликовано: 03 Ноябрь 2022
на канале: Python Morsels
9,079
51

When exceptions go unhandled, Python prints a traceback. Tracebacks are read from the bottom upward*. The last line describes *what happened and lines above describe where it happened.

Read an article version of this video at https://pym.dev/reading-tracebacks-in...

Find more Python screencasts at https://pym.dev/screencasts/

00:00 Traceback (most recent call last)?
00:25 Read the last line in a traceback first
01:17 The lines in a traceback represent frames in the "call stack"
02:11 Reading up the call stack to fix the bug
02:58 Read your tracebacks from the bottom upward

#python #exception #exceptions


На этой странице сайта вы можете посмотреть видео онлайн Traceback (most recent call last): Python's tracebacks explained длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Python Morsels 03 Ноябрь 2022, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 9,079 раз и оно понравилось 51 зрителям. Приятного просмотра!