python: built-in keyboard signal/interrupts,time.sleep(1)