Partial functions
Tutorial
You can create partial functions in python by using the partial function from the functools library.
Tutorial Code
from functools import partial
def func(u,v,w,x):
return u*4 + v*3 + w*2 + x
p = partial(func,5,6,7)
print p(8)
Expected Output
60