How can I run a python script on slicer?

You could run

exec(open(r"C:\Users\Marco\Desktop\tirocinio\scripting_3DSlicer\Dice_Hausdorff.py").read())

from the Python Interactor.

1 Like