balls to python