file parsing/watching + qt

Swaroop C H swaroopch at gmail.com
Wed May 4 06:17:01 EDT 2005


On 3 May 2005 22:43:02 -0700, aljosa <aljosa.mohorovic at gmail.com> wrote:
> i'm trying to fetch last line in file whenever isdnlog logs something
> so that i can parse that line for a number and store it somewhere else,
> is there a standard solution for this?
> i'm using python2.3 on linux with PyQt3.

Use the Python binding to FAM (File Alteration Monitor):
http://python-fam.sourceforge.net/


HTH,
-- 
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info



More information about the Python-list mailing list