title: Is it possible to detect if the mouse is held down with python
body: <p>Does anyone know if its possible to detect if the cursor is being held down with python? I was thinking something like this: </p>
  
  <pre><code>while mouseDown == True:
      # some other code
  </code></pre>
  
  <p>I am quite new to python, so I apologise if I missed a really obvious solution.</p>