def _reset(self):
        """Internal method; reopen the internal file handle (probably
        because the log file got rotated/truncated)."""
        self.f.close()
        self.f = open(self.path, "r")
        self.pos = self.f.tell()
        self.last_read = time()
Internal method; reopen the internal file handle (probably
        because the log file got rotated/truncated).
recipes/Python/436477_filetailpy/recipe-436477.py