def execute(self, code, lastonly=True, usemagic=True):
    ''
    clean_code = self.preprocess(code, usemagic=usemagic)
    if self.debug:
        print(clean_code)
    if (not clean_code):
        return []
    try:
        return self.repl(clean_code, lastonly=lastonly)
    except Exception as e:
        raise e
def execute(self, code, lastonly=True, usemagic=True):
    
    clean_code = self.preprocess(code, usemagic=usemagic)
    if self.debug:
        print(clean_code)
    if (not clean_code):
        return []
    try:
        return self.repl(clean_code, lastonly=lastonly)
    except Exception as e:
        raise e