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

Christian


Phil Thompson wrote:
On Sat, 14 Nov 2009 21:22:34 +0100, Mailing List SVR
<[email protected]> 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

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to