I have a QLineEdit object which I use to retrieve the user input. I am doing .text() to get the text. However it returns me something like <built-in method text of Pyside... object at..>
I just want to get the string inside the Line Edit box. Just to be clear, I am also doing that when a button is pressed. So I write something and then press the button.
I even tried using selectAll(), but it just gives me None
every time.
targetText = self.targetTextBox.text()
print str(targetText)