News

This post explains what a Python module is and how to use it to drastically extend the capabiltiies of your code. Plus: how to make your own!
My hosting provider somehow messed up their python config and broke my website. I have SSH access but not root access. I'm looking for ideas on what might be going wrong. The problem, in a ...
Syntax errors, keyboard interrupts, typos, broken imports. Python will swallow them all with that generic except. This isn't ideal. Instead, be specific about what you’re catching: try: result ...
Python 3 to the rescue: it’s no longer supported syntax if it’s ambiguous whether the import is supposed to be absolute or relative.