Lazy Logging – a Performance Story
Why Lazy Logging and my solution While debugging some issue I needed to get more details about an object. Generating this information meant combining some fields, getting length of some… Read more »
Why Lazy Logging and my solution While debugging some issue I needed to get more details about an object. Generating this information meant combining some fields, getting length of some… Read more »
WARNING: The following decorators are NOT production grade, not thoroughly tested and should only be used for debugging. I am aware that as far as decorators, they are not perfect… Read more »
Goal I was trying to transform the following structure: The format is such that each value (rows_by_category[‘a’]) is a list of rows, where the first row is the header, and… Read more »
Python provides two different but related protocols called an iterator and iterable. The Python Practice Book provides a good explanation, including complete examples. I highly recommend reading it and then… Read more »