I am new to this OpenOffice/LibreOffice world. A long-time Excel user and programmer of SAS, SQL, VBA, Python, and more recently AWK! Learning AWK has completely sold me on doing things the Linux way, I truly enjoy it. I was trying to bring some of my custom Excel functions that I wrote in VBA over to LibreOffice 5's Calc, but found the LibreBasic syntax very unfamiliar; The internet seems to suggest that a User-Defined Function can be written in Python; does anyone have a simple example of a UDF they've successfully implemented in Calc? I think it could really help me get started.

Thanks!