Fix python splitting