node editor through console

how can i add image node or renderlayer node through console in blender 2.53

You can’t…

uncle entity … plz tell me y ? it can’t be done

Mainly because it hasn’t been added yet.

I’ve been working on a patch for this but it still needs some sorting since there are a few rough edges in the python nodes api – what you do using python doesn’t get saved in the .blend which isn’t quite the optimum behavior.