improve :py output