Python Exit Script With Stage