Python Close Application Command Prompt