[PyQt] Log viewer file change notification

Christian Aubert chris at infixlabs.com
Tue Nov 17 18:45:39 GMT 2009

QfileSystemWatcher worked out perfectly. Unfortunately inotify and its 
variants are not windows compatible.


Phil Thompson wrote:
> On Sat, 14 Nov 2009 21:22:34 +0100, Mailing List SVR
> <lists at svrinformatica.it> wrote:
>> You can use pyinotify (http://trac.dbzteam.org/pyinotify) or inotifyx 
>> (https://launchpad.net/inotifyx) if you cannot use gpl code,
>> Nicola
>> In data venerdì 13 novembre 2009 19:14:40, Christian Aubert ha scritto:
>> : > I'm using the logging module to keep a log instead of messy print
>>> statements users don't want to see. I set up a log viewer but right now
>>> users must press an "update" button to get the latest log file
>>> displayed. Is there any way to get a file change notification so I can
>>> update the log display on the fly?
>>> Christian
> Or QFileSystemWatcher...
> http://www.riverbankcomputing.com/static/Docs/PyQt4/html/qfilesystemwatcher.html
> Phil

More information about the PyQt mailing list