title: Win32 Mouse Click
body: <p>So, this is my code right now:</p>
  
  <pre><code>import win32, win32com
  
  def leftClick():
      win32api.mouse_event(win32com.MOUSEEVENTF_LEFTDOWN,0,0)
      time.sleep(.1)
      win32api.mouse_event(MOUSEEVENTF_LEFTUP,0,0)
      print('Left Click')
  </code></pre>
  
  <p>But when I run it, that's what I get:</p>
  
  <blockquote>
    <p>win32api.mouse_event(win32com.MOUSEEVENTF_LEFTDOWN,0,0)
    AttributeError: module 'win32com' has no attribute
    'MOUSEEVENTF_LEFTDOWN'</p>
  </blockquote>
  
  <p>Any idea why?
  I'm running Python 3.7 by the way.</p>