Share your repls and programming experiences

← Back to all posts
Arrow keys and such using "from readchar import readkey".
52eagle (44)

I hope this is helpful if anyone doesn't know how to record arrow keys /a such. Feel free to ask questions if you need.

Comments
hotnewtop
SixBeeps (4789)

Definitely use getch here. https://stackoverflow.com/a/22398481/6631592 Sorry, I though I was still on the Ask board :P

52eagle (44)

@SixBeeps Oh. lol. No, this is just for helping other people. I did try getch with this, but it's a little weird.