I would like a feature where you can add extra paths in DIAdem's Python implementation for user-specific Python library directories.
In Visual Studio Code you can edit the settings.json to add paths to:
So stuff imported from "C:\Repositories\Python\MyLibraryOther\__init__.py" is directly visible on import alongside stuff in SitePackages:
I've been able to add further locations to the active DIAdem Python Path via to use programmatically:
import site
site.addsitedir('C:/Repositories/Python/')
With that, I can "use" the script contents from both "Other" and "Site-Packages" items:
But currently I can only "see" items located within the Site-Packages folder:
-Josh Rewerts
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.