def execute(queries, dbhandle=None, attach=False):

    cc = dbhandle.cursor()

    if attach:
        db_execute(cc, attach)

    db_execute(cc, queries)
    cc.close()
Execute a statement or a  list of statements (sequentially)
dataset/ETHPy150Open CGATOxford/cgat/CGAT/Database.py/execute