I am creating an application where I have a main window whit a label and then a docked widget that is in another file. I want to change the main windows label from a button
I had similar problem in PyQT5 where I was unable to access and set the local variables. After a lot of struggle I found writing to file and reading from file as the best solution. Simply write the desired output to file and access the same info from other file. Works great!