I have a python script which runs just fine, however after running pyinstaller, I get the following when I use a quit() or exit() command:
quit()
exit()
def quit(): sys.exit() self.quit_button = Button(self, text="QUIT",command = quit)