結果 : python handle keyboard events