Take for example the python built in pow() function.
pow()
xs = [1,2,3,4,5,6,7,8] from functools import partial list(map(partial(pow,2),xs)) >&g
Why not just create a quick lambda function which reorders the args and partial that
partial(lambda p, x: pow(x, p), 2)