title: python 3.6 pynput NameError: name 'keyboard' is not defined
body: <p>I wanted to detect keyboard with pynput, so I copied and pasted a demo from their site.
  Here it is:</p>
  
  <pre><code>from pynput import keyboard
  
  def on_press(key):
      try:
          print('alphanumeric key {0} pressed'.format(
              key.char))
      except AttributeError:
          print('special key {0} pressed'.format(
              key))
  
  def on_release(key):
      print('{0} released'.format(
          key))
      if key == keyboard.Key.esc:
          # Stop listener
          return False
  
  # Collect events until released
  with keyboard.Listener(
          on_press=on_press,
          on_release=on_release) as listener:
      listener.join()
  </code></pre>
  
  <p>But I get this error, the file is named differently than the module:</p>
  
  <pre><code>Traceback (most recent call last):
    File "C:\Users\Andrey\Documents\Python\123.py", line 1, in &lt;module&gt;
      from pynput import keyboardFile
    "C:\Users\Andrey\AppData\Local\Programs\Python\Python36-32\pynput.py", line 10, in &lt;module&gt;
      with keyboard.Listener(NameError: name 'keyboard' is not defined
  </code></pre>