1 2 3 4 5 6
# call this via "python[3] script name" import sys for _ in range(10): mystr = 'multi-line-string\n' sys.stdout.write(mystr)