miscset.io.read_lines

miscset.io.read_lines(path, mode='r')[source]

Read text as lines from a file.

A file is read line by line and parsed as a list of string.

Parameters
  • path (str) – File path.

  • mode (str) – File mode for open.

Returns

Lines read from the file as a list of strings.

Return type

list