text_to_lines

polyglotdb.io.helper.text_to_lines(path)[source]

Parse a text file into lines.

Parameters:
pathstr

Fully specified path to text file

Returns:
list

Non-empty lines in the text file