The particular module I am interested in does have a CLI (command line interface) counterpart, am I able to use it in a separate piece of code without having to open 3d slicer?
If it’s just a CLI (as in a C++ executable) then yes, you can call it from python using the subprocess
module. Most of the other Slicer code has dependencies that make it impossible to use in the normal interpreter, but we’ve been talking about migrating as many libraries as possible into packages that could be distributed via pypi.
1 Like