how to split text into lines?

alex23 wuwei23 at
Fri Aug 1 07:16:10 CEST 2008

Chris wrote:
> or what about 'string'.splitlines(True) as that retains newline
> characters. ;)

Okay, you win :)

Man, you'd think with the ease of object introspection I'd have at
least looked at its docstring :)

Cheers, Chris!

More information about the Python-list mailing list