Extended Slicing In Python