def __setattr__(self,attr,value):
        """Look for a _set_attr method. If found, use it. Otherwise, if the
        attribute is a DB column, use ODBC. Otherwise, set in the
        object dict."""
        try:
            setmethod = getattr(self,"_set_"+attr)
            return apply(setmethod,(value,))
        except AttributeError:
            pass
        if attr in self._db_cols.keys():
            self._db_set_attr(attr,value)
            return
        self.__dict__[attr] = value
Look for a _set_attr method. If found, use it. Otherwise, if the
        attribute is a DB column, use ODBC. Otherwise, set in the
        object dict.
recipes/Python/106131_DBAttrib/recipe-106131.py