split lines : splitlines « String « Python Tutorial






paragraph = "This is a simple paragraph.\n\
It is made up of of multiple\n\
lines of text."

print paragraph.splitlines(1)








5.31.splitlines
5.31.1.split lines