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/schmidlidev Jul 14 '21

Oh damn I never realized you could just pass in an existing dict 🤦 that makes things quite a bit easier