def expr(s):

    prog = re.compile('\{([^}]+)\}')

    def repl(matchobj):
        return "rec['%s']" % matchobj.group(1)

    return eval("lambda rec: " + prog.sub(repl, s))
Remove an option.
dataset/ETHPy150Open alimanfoo/petl/petl/util/base.py/expr--crossover with--dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/ConfigParser.py/RawConfigParser.remove_option