comment aciés textedit champs pyqt

userinput = self.textinputname.text()
Uptight Unicorn