Reading info from an active file

Keith Nation cricket.keith at gmail.com
Wed Jun 11 12:40:51 EDT 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: <http://mail.python.org/pipermail/python-list/attachments/20080611/2a0482a4/attachment.html>


More information about the Python-list mailing list