How to terminate a Python script with sys.exit

How to terminate a Python script with sys.exit

More to explore