PyDocs

Nav

Command-line interface libraries

filelineno

fileinput

function (source)
  • filelineno()
Return the line number in the current file. Before the first line
has been read, returns 0. After the last line of the last file has
been read, returns the line number of that line within the file.
0 Examples
No examples for fileinput/filelineno.
See Also
No see-alsos for fileinput/filelineno
0 Notes
No notes for filelineno