title: Pygame: Is there any easy way to find the letter/number of ANY alphanumeric pressed?
body: <p>Game I'm working on currently needs to let people time in their name for highscore board. I'm slightly familiar with how to deal with key presses, but I've only dealt with looking for specific ones. Is there an easy way to get the letter of any key pressed without having to do something like this:</p>
  
  <pre><code>for event in pygame.event.get(): 
      if event.type == KEYUP: 
          if event.key == K_a:
             newLetter = 'a'
          elif event.key == K_b:
             newLetter = 'b'
  
             ...
         elif event.key == K_z:
             newLetter = 'z'
  </code></pre>
  
  <p>While that would work, I have a feeling there is a more efficient way to go about it. I just can't figure it out or find any guides on it.</p>