Function To Stop Python Code Editor