In this case I'd prefer module-level imports -> `import sys` and `sys.exit()`. It makes it immediately clear where functions like exit are coming from.