def get(self, **kws):
        assert len (kws)==1,`kws`
        key, default = kws.items()[0]
        if key not in self.__dict__:
            if VERBOSE:
                print 'Options.get: adding new option: %s=%r' % (key, default)
            self.__dict__[key] = default
        value = self.__dict__[key]
        if value is None:
            value = self.__dict__[key] = default
        return value
Return option value.
dataset/ETHPy150Open pearu/pylibtiff/libtiff/utils.py/Options.get