Split Method Parameters Python