We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.

str.splitlines

splitlines([keepends])

Return a list of the lines in the string, breaking at line boundaries. Line breaks are not included in the resulting list unless keepends is given and true.