title: Python code run error Need help. It gives error that "cannot import name 'keys'"
body: <pre><code>from selenium import webdriver
  from selenium.webdriver.common.keys import keys
  
  driver = webdriver.firefox()
  driver.get ("http://www.python.org")
  </code></pre>
  
  <p>Error message:</p>
  
  <pre><code>Traceback (most recent call last):
    File "C:/pselenium/sample.py", line 2, in &lt;module&gt;
      from selenium.webdriver.common.keys import keys
  ImportError: cannot import name 'keys' from 'selenium.webdriver.common.keys' (C:\Python37\lib\site-packages\selenium\webdriver\common\keys.py)
  </code></pre>
  
  <p>I traced the path manually and all the file names and path are correct. I dont know what is the problem.</p>