When I go to Tools -> Macros -> Organize Macros -> Python I get this dialog:
Python scripts are located on /usr/lib/libreoffice/share/scripts/python
/usr/lib/libreoffice/share/scripts/python
Maybe this tutorial will help, as it did for me.