Where are the python scripts stored now?

I’m trying to learn to use python with LibreOffice. Where are the python scripts stored now and is there any documentation anywhere that shows how to reference and manipulate cells in Calc?