Background: I am importing (appending) a new scene to an existing .blend file. The new scene has only compositing nodes and is only used for compositing renders created by the original scene.
What I want to do is to specifically address an image node in the compositor node tree, and then assign an image to it. That's it. So, for me, pseudo-code would look something like:
set the context to the compositor node tree
set the filename of the image node "Fred" to "E:/myimage.jpg"
I've been referred to: How do I edit an image node in blender using python? but can not get it to work properly. How to load and assign an image to a specific image node in the compositor?