Newbe question on passing variable data between functions
Unsolved
Qt for Python
-
wrote on 16 Nov 2018, 18:41 last edited by
I am new to Python, and even newer to Pyqt5. I am trying to pass variable data from two of my defined functions to a third. I have attached the python I am working on. Is there a way to have data from the "def active(self):" and "def radeccalc(self):" functions available to the "def tracking(self):" function. I have tried what I think are the normal ways and they do not work.
[0_1542393589194_3m_positionRT4.py](Uploading 100%)
Thank you
Jack
-
wrote on 4 Dec 2018, 12:50 last edited by
Function declaration:
def samFunction(self,value): print("This is sample function call ",value)
Function calling:
self.samFunction(10)
I have PyQt5 installed in my machine.