python-tail icon indicating copy to clipboard operation
python-tail copied to clipboard

Unix tail follow implementation in python

Results 9 python-tail issues
Sort by recently updated
recently updated
newest added

``` when i use vim editor to edit file the file follow did not work. because other group have only read authority the file . So i added function that...

## Task Overview when i use vim editor to edit file the file follow did not work. because other group have only read authority the file . ![image](https://user-images.githubusercontent.com/30363615/202601740-58b2acda-953f-44e9-b8b3-2c67d6aac099.png) And it...

What to do if the read file is automatically rolled over

Just so you're aware, due to the way Python's file handler works, an open file which is rotated will break your follow loop. I had this problem in an application...

Added an optional argument to constructor to specify the mode argument to the file open command. Defaults to 'r', for backwards-compatibility. The specific use case this addresses is supporting binary-encoded...

Callback will impact to all the new-added lines once time.sleep ended, rather than line by line according to the timer.

Fix bug when watched file contains characters like \r\n etc..

Fixes some performance problems due to edge cases such as very long lines without a new line and adds a couple of new features, including buffering and iteration independent polling...