1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] Python turtle listen for onkey

Discussão em 'Python' iniciado por Stack, Setembro 14, 2025.

  1. Stack

    Stack Membro Participativo

    Is there a way to write a turtle onkey() statement so it will listen for any letter key, or can you only specify a single key in each onkey() statement? I don't want to have 26 onkey(), one set up for each letter "a", "b",... etc.

    I want to write a simple tickertape display where every time you type a letter it adds the letter to the end of the string being written by the turtle and moves the display across by one letter.

    Continue reading...

Compartilhe esta Página