See also previous question: Detect in python which keys are pressed,Also, ... try: while True: do_something() except KeyboardInterrupt: pass.
確定! 回上一頁