The Unknown Features of Python's Operator Module
At the first glance Python's
operator
module might not seem very interesting. It includes many operator functions for arithmetic and binary operations and a couple of convenience and helper functions. They might not seem so useful, but with help of just a few of these functions you can make your code faster, more concise, more readable and more functional. So, in this article we will explore this great Python module and make the most out of the every function included in it.
Source: The Unknown Features of Python's Operator Module, an article by Martin Heinz.