On 26/05/21 5:21 am, hw wrote:
On 5/25/21 11:38 AM, Cameron Simpson wrote:You'll need to import "sys".aving to import another library just to end a program might not be ideal.
The sys module is built-in, so the import isn't really loading anything, it's just giving you access to a namespace. But if you prefer, you can get the same result without needing an import using raise SystemExit(1) -- Greg -- https://mail.python.org/mailman/listinfo/python-list