title: Single character input in Pydev / Eclipse
body: <p>I want to capture a single user keypress without "enter", and see afterward whether it was  'r' or 'b' etc, but specifically in Eclipse with PyDev (Windows 7: 64bit, Python 3.6.1). Many nice alternatives are mentioned in <a href="https://stackoverflow.com/questions/510357/python-read-a-single-character-from-the-user">Python read a single character from the user</a> of course. The mrvcrt seems to work in cmd.exe but not in PyDev:</p>
  
  <pre class="lang-py prettyprint-override"><code>import msvcrt
  mych = msvcrt.getwch()
  print('You pressed: ' + mych)
  </code></pre>
  
  <p>Why not? I see @MatthieuRiegler already asked this at <a href="https://stackoverflow.com/questions/16076853/using-msvcrt-getch-in-eclipse-pydev">Using msvcrt.getch() in Eclipse / PyDev</a> ... but I am open to anything that works, not necessarily mrvcrt. Thanks!</p>