Skip to content Skip to sidebar Skip to footer
Showing posts with the label Higher Order Functions

How Does The Key Argument To Sorted Work?

Code 1: >>> sorted('This is a test string from Andrew'.split(), key=str.lower)… Read more How Does The Key Argument To Sorted Work?

Closure Magic In Higher-order Functions.

It's easy to know how to assign a global variable to an inner function - which would make the g… Read more Closure Magic In Higher-order Functions.

How To Reduce Boilerplate When Initializating Classes From Jsons In Python 3.5?

I have a set of python webservices that work with data objects they get via a JSON POSTs. In my old… Read more How To Reduce Boilerplate When Initializating Classes From Jsons In Python 3.5?