I’m trying to append a file which works well with this command :
bpy.ops.wm.link_append(directory="/media/Data/Projects/Blender/P Tools/addon/ptools/ptools.blend/NodeTree/", filename=“PMatte”, link=False)
But how to get the same command with a relative path? is it possible?
I tried a lot a combinations like directory="//ptools.blend/NodeTree/", filename=“PMatte” but nothing seems to work.