Tail...

Magnus Heino magnus.heino at rivermen.se
Mon May 7 07:45:44 EDT 2001


How can I know if a file changes?

Just like the tail command, I want to know when lines are added to a file, 
and be able to read them.

My first thougt was to use select or something, but I dont get it to work. 
If I register on POLLIN I get events all the time... :-P

/Magnus



More information about the Python-list mailing list