Is there a way in python to call filter on a list where the filtering function has a number of arguments bound during the call. For example is there a way to do something like t
def foo(a,c): return lambda b : a < b and b < c myList = (1,2,3,4,5,6) g = filter(foo(1,4),myList)