Best Coding Practices For Python Command To Exit