Using Macro In Python If You Executed