def main(buffer, command): if len(command) == 1: print("?") else: for module in command[1:]: if buffer.import_module_(module): print("Loaded %s" % module) return buffer