def cmd_set(self, *args):
        '''-1|set [variable_name] [value]|Set configuration variable value|Values are an expressions (100 | string.lower('ABC') | etc.'''
        value = " ".join(args[1:])
        if args[0] not in self.configvars:
            setattr(self, "var_{0}".format(args[0]), eval(value))
        setattr(self, "var_{0}".format(args[0]), eval(value))
dataset/ETHPy150Open uwdata/termite-visualizations/web2py/scripts/cpdb.py/console.cmd_set/original