The problem of passing parameter values in python

Hello, bosses.
as shown in the figure, if you want to pass the value of self.data to self.text_pad1, the value of self.data will be updated after the function is called. The normal updated value can be printed out within the function, but this value can never be displayed in self.textpad1.
is there anything you can do to make this value pass in successfully?

clipboard.png

self.data:
clipboard.png


clipboard.png

Thank you, bosses.

Mar.06,2021

self.textpad1 before passing a value, data is None,. You should display it in self.textpad1 after assigning a value to data.

Menu