textChanged python code example Example: pyqt5 qlineedit on change self.MyInput.textChanged.connect(self.doSomething)