0

I have a tkinter python code (main GUI) which calls another tkinter python code (child gui that provides input to main gui). I would like to know the trick to use pyinstaller in making a single executable that could compile both these guis.

Note: I have been successful in making executable with a tkinter python code (gui) that have a dependency (just .py file which is not a GUI).

Appreciate your help.

zym
  • 1
  • 5
  • What will happened if you use `-F` in pyinstaller? – jizhihaoSAMA Jul 02 '20 at 12:24
  • could you please provide some more help on using -F ? I have used --onefile and edited the specfile (to include the dependencies) afterwards. – zym Jul 02 '20 at 13:33
  • Sure, I think it should work normally if you have used `--onefile`.What will happened? – jizhihaoSAMA Jul 02 '20 at 13:44
  • ---onefile compiled just one gui but do not open second gui. – zym Jul 03 '20 at 00:18
  • Refer to [this question](https://stackoverflow.com/questions/51455765/build-multiple-py-files-into-a-single-executable-file-using-pyinstaller), it seems that `pyinstaller` will auto import the second gui when you pack it. – jizhihaoSAMA Jul 03 '20 at 01:43

0 Answers0