stop python script with keyboard