I have tried a lot of different ways of doing this.

I want this part of the script, when reached, to beep once a second (time.sleep(1)) , until a key is pressed (I don't care what key), and once a key has been pressed, continue on with the code.

Is this even possible???