Unfold list
Builds a list, using an iterator function and an initial seed value.
The Python snippet collection contains helper functions for Python 3.6. It includes utilities for most common data types, such as primitivies, lists, dictionaries and date objects.
Builds a list, using an iterator function and an initial seed value.
Returns the difference between two lists, after applying the provided function to each list element of both.
Returns a list of elements that exist in both lists, after applying the provided function to each list element of both.
Mutable default arguments can trip up Python beginners and veterans alike. Here's a quick workaround to deal with them.
Performs left-to-right function composition.
Performs right-to-left function composition.
Creates a function that will invoke a predicate function for the specified property on a given dictionary.
Curries a function.
Tests a value, x
, against a testing function, conditionally applying a function.
Invokes the provided function after ms
milliseconds.
Understand what one of the most commonly used Python constructs does and when you should use it.