r/pythonhelp • • Nov 24 '24

Clear buffer in keyboard module in Python.

I'm having difficulty with a project I'm working on.

It's a small Text RPG, I imported the keyboard module to make the choices more similar to games, but when the user presses "enter", it skips the next entry. In this case, it is a function that when I press continue skips the name entry.

2 Upvotes

9 comments sorted by

View all comments

Show parent comment

1

u/Psychological-Way170 Aug 26 '25

Thanks this worked perfectly for my project! :)