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

Published: 03 November 2022
on channel: 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


On this page of the site you can watch the video online Traceback (most recent call last): Python's tracebacks explained with a duration of hours minute second in good quality, which was uploaded by the user Python Morsels 03 November 2022, share the link with friends and acquaintances, this video has already been watched 9,079 times on youtube and it was liked by 51 viewers. Enjoy your viewing!