Catch exception with message?

Lawrence D’Oliveiro lawrencedo99 at gmail.com
Sat Jun 4 19:39:52 EDT 2016


On Sunday, June 5, 2016 at 4:44:17 AM UTC+12, Peter Pearson wrote:

> ... are you aware that "except Exception" is generally not what you want to
> do ...

Agree. Always make your “except”-matching as specific as possible.


More information about the Python-list mailing list