Apr-02-2018, 04:07 PM
Thanks, renaming the mainfuntion to .pyw works just fine. However I wanted to create an .exe file which runs on computers that don't have Python installed. I found "pyinstaller" and it basically did exactly what I wanted: I have one single .exe file which starts my program. Unfortunately the "solve" button is broken again: By clicking solve, another instance of tkinter is opened and it is stuck in an endless loop. It seems to be the exact same problem which you had already solved before. I didn't make any changes to the working code. When I run the .pyw fie, the problem doesn't occur, it's just the .exe file.