Measure the execution time of small bits of Python code with the “timeit” module
Function argument unpacking in Python
Sometimes “just a code snippet” isn’t enough to explain a cool Python feature and where to use it.
Merging two dicts in Python 3.5+ with a single expression
In these examples, Python merges dictionary keys in the order listed in the expression, overwriting duplicates from left to right.