Reading info from an active file

Keith Nation cricket.keith at
Wed Jun 11 18:40:51 CEST 2008

I have a program that writes a log file as it is running to give status of
the job.  I would like to read that file, pull certain lines of text from
it, and write to a new file.  Because I am such a novice user, I was hoping
someone had covered this before and could let me know of your methods.  If I
open and close the file repeatedly to get refreshed information, I assume it
would slow the system down.  Any thoughts?

Keith Nation
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list