Table of Contents
Read the last n lines from a file.
fname (str) – Name of the input file.
str
n (int) – The number of lines to read from the end of the input file.
int
lines (list) – List containing the last n lines of the input file. Each list item represents one line of the file.
list