title: How to make this code work with py2exe
body: <p>My code is like this:</p>
  
  <pre><code>from PIL import Image        
  from VideoCapture import Device                                                 
  def cam_capture(usr):
      try:
          cam = Device()                              
          cam.saveSnapshot('%s//intruder.jpg'%(usr))
          del cam
      except:
          return
  if __name__=='__main__':
      cam_capture('aninda')
  </code></pre>
  
  <p>the problem is when i execute this code it works just fine but when i make an exe with
  py2exe then it doesn't save the image..I am on windows 7 and using python 2.7</p>