def execute(macro,arg): list_arg=arg.split(',') corps="" for commande in list_arg: #corps+=eval("macro.formatter."+commande) return corps