Relative Content

Tag Archive for python-3.ximplementationtail

How to implement ‘tail’ in Python

I have some very big files (more than 100 millions lines).
And I need to read their last line.
As I ‘m a Linux user, in a shell/script I use ‘tail‘ for that.

How to implement ‘tail’ in Python

I have some very big files (more than 100 millions lines).
And I need to read their last line.
As I ‘m a Linux user, in a shell/script I use ‘tail‘ for that.