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

2

u/lonaExe Oct 05 '21

It's not for checking errors, it's for finding which keyvalue pair from the json is missing. Also, this is r/badcode after all