Someone asked me how they can get a chart like the one below, but broken down by priority.

Someone asked me how they can get a chart like the one below, but broken down by priority.

I seem to be using decorators in my Python code more and more each day. Given that I’m meant to be giving a short presentation on decorators to the New York Python User Group tomorrow evening, I figured I’d whip up a quick blog post to get some ideas flowing. (Update: the presentation is now available for download here.) This post briefly touches on my initial experience with decorators, offering a slightly crude but potentially more accessible explanation of them in comparison to the standard Python documentation. I’ll then jump in and share a bunch of decorator idioms I’ve found to be useful in my day-to-day code.
Continue reading ‘Useful Python Decorator Idioms’