helpers.parse_input()
Split text at line boundaries, retaining whitespace within each line.
Usage
helpers.parse_input(input_str)Internal blank lines become empty strings. A terminal newline does not add an extra entry.
Examples
>>> parse_input("a\n\n b\n")[‘a’, ’‘,’ b’]