I have a GUI script, called ui.py, created in PySide that uses functions from another script, called DataFunctions.py. When I run the ui.py file in python it all works perfectly, and when I run the ui.exe file it will all work fine apart from the button that runs the DataFunctions.py file, which does nothing. In my ui.py file I am importing DataFunctions.py with:
import DataFunctions.py
buttonAction = DataFunctions.writeFile(filename, data)
I am using the following code to create the .exe:
pyinstaller ui.py -w -F
Am I importing the DataFunctions.py file in a way that pyinstaller doesn't support?