made it so python could output