I have two modules, module1 and module2. I am asking the user to select a folder using qFileDialog in this part of module 1
exampath = qt.QFileDialog.getExistingDirectory(0,(“Select folder for DCE-MRI exam”))
Then in this part of module2
I want to be able to reuse that same exampath that they chose in module1 without making the user select the exampath from QFileDialog again.
What would be the syntax for doing this?