r/badcode • • Jul 14 '21

python Try/Except in Python - Sigh

Post image
662 Upvotes

93 comments sorted by

View all comments

Show parent comment

3

u/sliverino Jul 14 '21

The information you might be missing is that you can use multiple except conditions, using a nonspecific except at the end if all others are not caught.