Automatic Execution For Python Command To End Program In Python