結果 : how to code a macro in python