When I go to Tools -> Macros -> Organize Macros -> Python I get this dialog:
Follow these instructions:
This documentation helped me the most.