How can I use the python API to find the most reliable location that an add-on can use to store data like images, assets, etc. automatically?
It's important that this location:
- doesn't change for different versions of blender
- doesn't get deleted on system reboot like some temp folders
- is available on every OS
One option I've found is to use bpy.utils.resource_path('USER')
which ends in the version number (on windows C:\Users\blah\AppData\Roaming\Blender Foundation\Blender\2.78
), but then do a relative jump to the folder above it. Is there a better way?