'This function sets the property available to the camera
Usage:
> camera.setProperty(\'region\',(256,256))
Available Properties:
see function camera.getPropertyList()'

def setProperty(self, name=None, *args):

    if (name == None):
        print 'You    need    to    provide    a    property,    available    properties    are:'
        print ''
        for p in self.getPropertyList():
            print p
        return
    if (len(args) <= 0):
        print 'You    must    provide    a    value    to    set'
        return
    stringval = 'set_{}'.format(name)
    try:
        return getattr(self._cam, stringval)(*args)
    except:
        print 'Property    {}    does    not    appear    to    exist    or    value    is    not    in    correct    format'.format(name)
        return None
