print to qlineedit python code example Example: how to acces textedit fields pyqt userinput = self.textinputname.text()