For anyone having a problem with sys.exit(1)
in @martineau’s code – if you replace sys.exit(1)
with self.master.destroy()
the program ends gracefully. I lack the reputation to add a comment, hence the seperate answer.
For anyone having a problem with sys.exit(1)
in @martineau’s code – if you replace sys.exit(1)
with self.master.destroy()
the program ends gracefully. I lack the reputation to add a comment, hence the seperate answer.