Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 279 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 279 Bytes

py-tail

A Python library for tailing files.

Usage

File Reading Follower

from follower import Follower

def main():
    with Follower("yourlogfile.log") as f:
        for line in f.lines():
            print(line)

if __name__ == "__main__":
    main()