Oct-18-2023, 01:29 PM
I have a small GUI app with a close button that works as expected when the app is run in Thonny, but the Exit button code fails in the binary file created with pyinstaller. Since the GUI is full screen, I must do a forced reboot to exit as the GUI is full screen.
btn = tk.Button(root, text='Exit', font=(None, 14, 'bold'), command=lambda: [root.destroy, exit()])Any advice appreciated.