[Python] Is there anway to get a specific keyboard input in python

Discussão em 'Python' iniciado por Stack, Setembro 24, 2024.

  1. Stack

    Stack Membro Participativo

    I'm working on a project for school and it currently has the line input("press enter to continue") which works but it doesn't matter what the input is as as long as the user hits enter to program continues, and i'd like it to only work when that specific key is pressed.

    I looked it up and there used to be a keyboard module but for some inexplicable reason it's been removed, so is there any other way of getting an input?

    Continue reading...

Compartilhe esta Página