A plea to avoid sys.exit() [Updated]
Let me gripe about this for a moment.
sys.exit()
The use case for this function is limited. Very, very limited.
Every place that this appears (except for one) is going to lead to reusability issues.
Consider some obscure little function, deep within the app.
def deep_within_the_app(x, y, zed …more ...