You must log in or # to comment.
How old is this article? There hasn’t been EnvironmentError since py33
Had to look it up.
Your point still stands, ignoring Exceptions bad. The next thing would wanna see are the unit tests. If those are nonexistent then of course the code is gonna be buggy. The hint is that you called the CLI a script. So not a package.
So it’s a good thing you have revisited the code and hopefully rewritten it as a package with a test suite.

