On 2021-05-25, Dennis Lee Bieber <wlfr...@ix.netcom.com> wrote: >>Oh ok, it seemed to be fine. Would it be the right way to do it with >>sys.exit()? Having to import another library just to end a program >>might not be ideal. > > I've never had to use sys. for exit...
I would have sworn you used to have to import sys to use exit(). Am I misremembering? Apparently exit() and sys.exit() aren't the same, so what is the difference between the builtin exit and sys.exit? -- https://mail.python.org/mailman/listinfo/python-list