Python turtle - pause execution while listening for keypress

214 Views Asked by At

I want to program a turtle to move on every second, based on the user pressing the arrow keys.

How do I pause the turtle movement while still listening for key presses?

If I use sleep(), the whole program pauses and it no longer listens for key presses.

0

There are 0 best solutions below