title: How do I access my webcam in Python?
body: <p>I would like to access my webcam from Python.</p>
  
  <p>I tried using the <a href="http://videocapture.sourceforge.net/" rel="noreferrer">VideoCapture</a> extension (<a href="http://technobabbler.com/?p=22" rel="noreferrer">tutorial</a>), but that didn't work very well for me, I had to work around some problems such as it's a bit slow with resolutions >320x230, and sometimes it returns <code>None</code> for no apparent reason.</p>
  
  <p>Is there a better way to access my webcam from Python?</p>