Answer the question
In order to leave comments, you need to log in
Variables in PYQT5?
For example, I have two functions
def test1(self):
.......
punk = "hello"
......
.......
def test2(self):
button=QPushButton("Click")
button.clicked.connect(self.test1)
.....
print(punk)
......
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question