Just write a pygimp script normally, and call it via gimp's batch mode.
I would prefer another solution, since I have some processing to do in
the external script and possibly a bunch of data to transfer back and
forth, so it would make the script quite complex to have to use the
By the way, I thought the batch mode only understood scheme, so it would
make the whole thing even more complicated.
I hope there is a simpler solution possible.
Gimp-developer mailing list