why is the list index out of range error ? Programming Software Development by krystosan … = os.listdir(self._filesBinPath) print self.filesList self.fileSysWatcher = QtCore.QFileSystemWatcher() def watchMyNodesBin(self): self.fileSysWatcher.addPath(self._filesBinPath) QtCore.QObject… Re: receiving text from external application Programming Software Development by Gribouillis … *watching* files or directory (such as pyinotify or perhaps QtCore.QFileSystemWatcher). Your program could then read the file on disk. Another… Re: why is the list index out of range error ? Programming Software Development by Gribouillis At first glance, the error means that the symmetric difference is empty and your code does not handle the case. Re: why is the list index out of range error ? Programming Software Development by krystosan well I dont think so that is the case could you try comment out this print newFiles #if newFiles: #userName = newFiles.split(".")[0] #retValue = MessageBox(userName=userName)._messageBox() #print retValue from slotDirChanged and change the method to def …