title: Detect key input in Python
body: <p><em>(In 2013)</em> I don't know why Python is that weird, you can't find this by searching in google very easily, but it's quite simple.</p>
  
  <p>How can I detect 'SPACE' or actually any key?
  How can I do this:</p>
  
  <pre><code>print('You pressed %s' % key)
  </code></pre>
  
  <p>This should be included in python core, so please do not link modules not related for core python.</p>