Python design