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