num1, num2, num3= self.qlineedit.text().split()
# after insert num1, num2, num3 I want send enter key automatically.
#all num1, num2, num3 are three digit numbers
2/24/2017 1:35:02 PM
I think that module has a function called :
def returnPressed ()
you may want to read up on it at :
think we have a qlineedit, and we define a function (def add:)when we insert something to qlineedit we want press enter to run add function.
look into :
.sendline("") or .sendcontrol('m')
You should give a better explanation on what you are trying to accomplish with your code .
Send us a message