Shrink python