키입력을 위한 모듈.
pip install keyboard
while True: if keyboard.is_pressed('키이름'): time.sleep(0.5) # 키를 잠깐 눌러도 컴퓨터는 엄청나게 빠르게 명령을 실행한다. 명령 break