Macro_manager_python