Can I restart 3d slicer and add an “additional module path” with python code.
Yes, sure. You don’t even need to restart to load additional Python modules. See source code of extension wizard for details.
2 Likes
Also, you can have a look at how the modules panel handles directory paths.. And slicer.util.restart()
.
2 Likes
Can not find the source code. Can you help with it?