recipes.
get_numlines
Get number of lines of an text file
fname : str
File to be read
lineno : int
Number of lines in the file
See also
None
Notes
This routine is based on this Stackoverflow submission