pyqt5 get a value from a QlineEdit .text() code example Example: how to get input from pyqt line edit userinput = self.lineditname.text()