On 25May2021 15:53, Dennis Lee Bieber <[email protected]> wrote: >On Tue, 25 May 2021 19:21:39 +0200, hw <[email protected]> declaimed the >following: >>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... > >C:\Users\Wulfraed>python >Python ActivePython 3.8.2 (ActiveState Software Inc.) based on > on win32 >Type "help", "copyright", "credits" or "license" for more information. >>>> exit()
!!!!!!!! I have learned a new thing today. Regardless, hw didn't call it, just named it :-) Cheers, Cameron Simpson <[email protected]> -- https://mail.python.org/mailman/listinfo/python-list
