A plea to avoid sys.exit() [Updated]

Date Tags #python

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 ...

On Pre-built Binaries for Python Packages

Or. Why I Hate Windows. For Mac OS X, you download XCode (for free) and you can build anything. For Linux, you use some kind of yum or rpm installer for the developer tools, and you can build anything. For Windows... Pre-built binaries. 😂 And a hope that the version numbers …

more ...