Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 616 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 616 Bytes

TYLER

Tyler is just a simple "tail -f" command written in Python that can be used like a module to be integrated in own projects or as a standalone command from the command line (expecially useful on Windows where tail command does not exists).

INSTALL

To install Tyler simply use pip

$ pip install pytyler

USAGE

From the command line

c:\tyler prova.txt

As a module

import tyler

my_file = tyler.Tyler('filename_to_be_tailed.log')
while True:
    for line in my_file:
        # insert here whatever you whatn to do with the read line