from functools import partial def func(a,b,c,d): return a + b + c + d tes = partial(func,1) print(tes) res = tes(2,3,4) print(res)