Any Help Python For Libre Calc Macros?

just found what someone said was the best intro for Calc macros via python and found it a bit arcane, a bit steep, and it’s cmd lines were for open office not libre office and so didn’t work for me.

Anyone know of a better entry into Libre Calc macros?

Here’s the place I was at:
office macros in python