When installing an add-on I would like to be able to extract the source path of the add-on with python, so I can use it as a default path in the ui to an included .exe file. How do I get the source path?

EDIT: I'm sorry for not being clear enough. The source path is for me where the add-on is located before it is installed(what I need), not where it is located when it is installed - I would call that the destination path(what I do not need).


Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.