Get started with the Python picamera library and set up a hardware button to take a picture
OtherNOASSERTION