See explanation in Slicer Python programming tutorial: https://www.slicer.org/wiki/Documentation/Nightly/Training#Slicer4_Programming_Tutorial
There is also a brand new option of running Slicer Python scripts from Jupyter notebooks.
See explanation in Slicer Python programming tutorial: https://www.slicer.org/wiki/Documentation/Nightly/Training#Slicer4_Programming_Tutorial
There is also a brand new option of running Slicer Python scripts from Jupyter notebooks.