Asked about Errors, files and modules

Why should you avoid a bare except?

An answer that works

It catches everything, including KeyboardInterrupt and SystemExit, so the program cannot be stopped normally. It also hides real bugs like typos, turning a crash you would have noticed into silently wrong output.

Reading an answer is not being able to give one. The section that teaches this is Errors, files and modules, 4 hours of Python.

Learn this properly