Sometimes we deal with large amount of information from the stack trace. In order to get only the information that we need, first we have to ... the traceback, then we need to ... it, and, finally, we can ... it to a file-like object or directly to the standard error.
Traceback module
Sort the steps
Report a typo
Put the items in the correct order
print
extract
format
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.