Automatic Execution For Python Command To End Program In C