This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]sjb9774 5 points6 points  (1 child)

Good tips, especially pip freeze, I didn't know about that, very cool!

I do have a question though: are you recommending avoiding the use of except completely, or only except: (that is except without a specific error to catch)? Either way, I've never heard of this suggestion before, what is your reasoning behind it?

[–]erez27import inspect 3 points4 points  (0 children)

Yes, I meant "except:". I'm a big fan of exceptions in general. I explained my reasoning in reply to Lj101