bhclowers
Mon, 25 Jan 2010 15:55:42 -0800
So I'm trying to watch a network drive so that I can trigger a function. Any ideas how to get this to work using QFileSystemWatcher?
Any help would be appreciated. My ipython example that fails: from PyQt4 import QtGui, QtCore import os watcher = QtCore.QFileSystemWatcher() #mapped drive on win32 nPath = 'Z:/Data' os.path.isdir(nPath) #The following will Fail watcher.addPath(nPath) #as will this watcher.addPath(QtCore.QString(nPath)) -- View this message in context: http://old.nabble.com/QFileSystemWatch-and-Network-Drives-tp27315874p27315874.html Sent from the PyQt mailing list archive at Nabble.com. _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt