Is there a clean way to access package path(s) from inside python node?
I’m currently using AddReference to find the location and version and then build the path based on that. I think I found it in a github issue. It works fine as far as the user installs all the packages in the default folder but won’t work if someone installs the package in some custom location.
import clr clr.AddReference('DynamoCore') _loc = clr.References.Location _ver = _loc.split('\\')[-2].split(' ')[-1]