Python functools.partial Examples

Ever wished you could tweak a Python function by pre-setting some of its arguments? The functools.partial function is your answer!