I need pass function to another function with some parameters specified.
So half of parameters I need assign before passing function and other parameters would be given inside another function. How to do that?
I need pass function to another function with some parameters specified. So half of
Share
This is exactly what
functools.partialdoes. For example: