python print output to stdout