title: Python list filtering with arguments
body: <p>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 this:</p>
  
  <pre><code>&gt;&gt; def foo(a,b,c):
      return a &lt; b and b &lt; c
  
  &gt;&gt; myList = (1,2,3,4,5,6)
  
  &gt;&gt; filter(foo(a=1,c=4),myList)
  &gt;&gt; (2,3)
  </code></pre>
  
  <p>This is to say is there a way to call foo such that a=1, c=4, and b gets bound to the values in myList?</p>