grapa.parse.parser_dispatcher.file_read_first3lines
- grapa.parse.parser_dispatcher.file_read_first3lines(filename: str) tuple
Returns the first 3 lines of a file.
- Parameters:
filename – str, filename to open
silent – if True, does not complain in case of issue.
- Returns:
(str, str, str) first 3 lines of the file