Skip to content Skip to sidebar Skip to footer

Python 3.6 Quit() Not Working After Porting To Exe

I have a small tkinter gui that generates some reports. I built a quit button into it. The button works perfectly when I launch the script, but I converted it to an exe with cx_fre

Solution 1:

As per the comments the quit function doesn't work outside of the interpreter

def quits():
    sys.exit()

That does the trick

Post a Comment for "Python 3.6 Quit() Not Working After Porting To Exe"