Jak uzyskać dane wejściowe z edycji linii pyqt

userinput = self.lineditname.text()
Uptight Unicorn