Python code used to take pictures with a RaspberryPi camera.