結果 : how to code macros in python