While writing a new module in a new extension using python I want to be able to use classes and\or functions from outer scripts (.py file) which I wrote by using:
“from FolderName.FileName import FunctionName”
Every time I add the above line or even the known “from enum import Enum” the module crashes and isn’t shown in 3d slicer.
(“import numpy as np” works)
Needless to say that the above mentions code-lines are perfectly working in simple python codes (no 3d-slicer association)
How can I fix this problem?
Thanks, Yana.