zamiaCAD supports Python scripting. In order to use it you need to set PYTHONPATH environment variable to point to the directory with Python libraries. One such directory is provided within the zamiaCAD installation package at zamiaCAD-X.Y.Z/Lib/ or as a separate archive here.
NB! Since different versions of Jython interpreter accept only certain versions of Python libraries, it is strongly recommended that you use the library provided with zamiaCAD, as its Jython interpreter has been tested against this particular lib.
Script files can be run either from the contex menu of zamiaCAD project ("Run script...") or directly from the context menu of the script file ("Run script").