A Practical Use for Python Decorators – Logging, Error Checks, and Timing

When using a Python decorator, especially one defined in another library, they seem somewhat magical. Take for example Flask’s routing mechanism. If I put some statement like @app.route(&#822……


My Python Setup for 2020

My Python setup used to change a lot, as I would find ad-hoc solutions for my needs. These days I've settled on a Python setup that satisfies pretty much all of my different use cases and is easy to use. It is composed of these tools: Pyenv for Python ver... (more…)

Read more »