title: TypeError: 'module' object is not callable for SendKeys
body: <p>I write this simple script that opens the Google page and writes in the search bar but it only opens the URL and reports an error in prompt. Can someone explain were I'm going wrong?</p>
  
  <pre><code>import webbrowser
  webbrowser.open_new_tab("http://www.google.com")
  
  import win32api, win32con
  import SendKeys
  x = range(1,4)
  for count in x:
      SendKeys('a', 0)
  </code></pre>
  
  <p>The prompt response</p>
  
  <pre><code>Traceback (most recent call last):
    File "D:\SCRIPT\python\openandwrite.py", line 8, in &lt;module&gt;
      SendKeys('{a}', 0)
  TypeError: 'module' object is not callable
  </code></pre>