print input text into line edit python pyqt5 code example Example: how to get input from pyqt line edit userinput = self.lineditname.text()