i have a while loop processing in the python shell and it can pass integer variable value to the pyqt5 window but not the other way round from the pyqt5 window to the python