left shift arguments to make a function a partial application.
tested on 2.7, 3.2, 3.3
pip install lshift
from lshift import arg
double = operator.mul << arg(2)
mapinc = map << arg(lambda x: x+1)
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.