r/badcode • • Jul 14 '21

python Try/Except in Python - Sigh

Post image
662 Upvotes

93 comments sorted by

View all comments

1

u/Clean-Explanation-36 Jul 15 '21

I thought it was OK before I realized that like 9/10 of the nested lookup is all the same lol. If that wasn’t the case honestly it would’ve been fine. but yeah this is bad 😆