Following a file, or cloning tail

Boudewijn Rempt boud at rempt.xs4all.nl
Wed Jun 28 15:19:25 EDT 2000


I'm trying to write an application that follows the output of another
app, analyzes it, and serves it up as html. Kind of filtering tail,
really. Is there any accepted 'best' way of 'tailing' a file?

I thought about having two threads, one doing the tailing, one
doing the servering (instantiating new threads as needed), but I
can't even get the tailing right!

-- 

Boudewijn Rempt  | http://www.valdyas.org



More information about the Python-list mailing list